From ccba4bc50ce550c83a578febfd7cc43ccd8aa44d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 13 Apr 2018 14:42:05 +0100 Subject: make sisyphus-cli update independent of timestamp, to force a manual sync of portage tree and config --- src/backend/libsisyphus.py | 4 ++++ src/frontend/cli/sisyphus-cli.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/backend/libsisyphus.py b/src/backend/libsisyphus.py index 069d563..e83258a 100755 --- a/src/backend/libsisyphus.py +++ b/src/backend/libsisyphus.py @@ -168,6 +168,10 @@ def startSearch(pkgList): def startUpdate(): syncAll() +def startSync(): + syncGitRepos() + syncPortageCfg() + def sysInfo(): subprocess.check_call(['emerge', '--info']) diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py index 965e3f1..9d347ab 100755 --- a/src/frontend/cli/sisyphus-cli.py +++ b/src/frontend/cli/sisyphus-cli.py @@ -18,7 +18,7 @@ if "__main__" == __name__: elif "remove-orphans" in sys.argv[1:]: removeOrphans() elif "update" in sys.argv[1:]: - startUpdate() + startSync() elif "upgrade" in sys.argv[1:]: startUpgrade() elif "search" in sys.argv[1:]: -- cgit v1.2.3