summaryrefslogtreecommitdiff
path: root/app-portage/sisyphus/files/sisyphus-update.patch
blob: f70fb862e043cb38d3c52fd8c0af80ea6e5bf44a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 @@
         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:]: