]> Freerunner's - dotfiles.git/commitdiff
upgrayyedd: add revdep-rebuild
authorAndre Ramnitz <tux.rising@gmail.com>
Fri, 20 Sep 2024 21:33:34 +0000 (23:33 +0200)
committerAndre Ramnitz <tux.rising@gmail.com>
Fri, 20 Sep 2024 21:35:14 +0000 (23:35 +0200)
local/dot-local/bin/kupgrayyedd
local/dot-local/bin/upgrayyedd

index c2ffe00612a25c6f299527ade0ab2c15f668a3b3..9b37e0d787687ad710c3009e5f564101486209b9 100755 (executable)
@@ -2,12 +2,13 @@
 
 swaync-client -cp -sw
 
-choice=$(kdialog --menu "Aktion wählen:" 1 "Portage @world update" 2 "Sync repos and update @world" 3 "Clean-up @world" --default "Portage @world update");
+choice=$(kdialog --menu "Aktion wählen:" 1 "Portage @world update" 2 "Sync repos and update @world" 3 "Rebuild preserved libs" 4 "Clean-up @world" --default "Portage @world update");
 
 case $choice in
     1) foot -a popup -H ~/.local/bin/upgrayyedd again ;;
     2) foot -a popup -H ~/.local/bin/upgrayyedd refresh ;;
-    3) foot -a popup -H ~/.local/bin/upgrayyedd clean ;;
+    3) foot -a popup -H ~/.local/bin/upgrayyedd preserved ;;
+    4) foot -a popup -H ~/.local/bin/upgrayyedd clean ;;
     *) echo "Failure"
 esac
 
index 8f7eb7ccf932f8a571be99d224b655df83f223ef..f21ac81a8386d9a7c52a9c84720622154ace2b5a 100755 (executable)
@@ -18,6 +18,10 @@ case "$1" in
         $precmd /usr/bin/emerge -avuDN @world "${@:2}"
         exit 0
         ;;
+    preserved)
+        $precmd /usr/bin/emerge -av @preserved-rebuild
+        exit 0
+        ;;
     world)
         $precmd /usr/bin/emerge -avuDe --with-bdeps=y  @world "${@:3}"
         exit 0