|
Lines 699-705
Link Here
|
| 699 |
# e.g. Name, Description |
699 |
# e.g. Name, Description |
| 700 |
cls.update_conffiles() |
700 |
cls.update_conffiles() |
| 701 |
|
701 |
|
| 702 |
# TODO: would be nice if vendors provided ${app}16.png |
|
|
| 703 |
# special handling for icons |
702 |
# special handling for icons |
| 704 |
for png in glob(os.path.join(FRONTEND_ICONS_DIR, '**', 'apps-*.png')): |
703 |
for png in glob(os.path.join(FRONTEND_ICONS_DIR, '**', 'apps-*.png')): |
| 705 |
os.unlink(png) |
704 |
os.unlink(png) |
|
Lines 750-760
Link Here
|
| 750 |
|
749 |
|
| 751 |
if cls._all_applications is None: |
750 |
if cls._all_applications is None: |
| 752 |
cls._all_applications = [] |
751 |
cls._all_applications = [] |
| 753 |
# first of all, look for local archive |
|
|
| 754 |
cls._extract_local_archive() |
| 755 |
# query all applications from the server |
752 |
# query all applications from the server |
| 756 |
if not only_local: |
753 |
if not only_local: |
| 757 |
cls.sync_with_server() |
754 |
cls.sync_with_server() |
|
|
755 |
# look for local archive anyway |
| 756 |
cls._extract_local_archive() |
| 758 |
for ini_file in glob(os.path.join(CACHE_DIR, '*.ini')): |
757 |
for ini_file in glob(os.path.join(CACHE_DIR, '*.ini')): |
| 759 |
cls._all_applications.append(Application(ini_file, localize)) |
758 |
cls._all_applications.append(Application(ini_file, localize)) |
| 760 |
|
759 |
|