backup: sort apps
This commit is contained in:
@@ -219,6 +219,7 @@ class ApplicationFinder:
|
|||||||
except (KeyError, OSError) as e:
|
except (KeyError, OSError) as e:
|
||||||
logger.warning(f"Could not get owner for {app_dir}: {e}")
|
logger.warning(f"Could not get owner for {app_dir}: {e}")
|
||||||
|
|
||||||
|
applications.sort(key=lambda app: app.path.name)
|
||||||
return applications
|
return applications
|
||||||
|
|
||||||
def _find_backup_script(self, app_dir: Path) -> Optional[Path]:
|
def _find_backup_script(self, app_dir: Path) -> Optional[Path]:
|
||||||
|
|||||||
Reference in New Issue
Block a user