summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-13 14:42:05 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-13 14:42:05 +0100
commitccba4bc50ce550c83a578febfd7cc43ccd8aa44d (patch)
tree608fd6e39b9469cb1ee8202f5fe48794b3d4fb91 /src
parentbbe0727f4d9af365f69237bde6f34b75b3e0a2a7 (diff)
make sisyphus-cli update independent of timestamp, to force a manual sync of portage tree and config
Diffstat (limited to 'src')
-rwxr-xr-xsrc/backend/libsisyphus.py4
-rwxr-xr-xsrc/frontend/cli/sisyphus-cli.py2
2 files changed, 5 insertions, 1 deletions
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:]: