From 0136919bd455842f2d2e6d03b20ef74e89e4199f Mon Sep 17 00:00:00 2001 From: shark Date: Sat, 20 Apr 2019 14:00:57 -0500 Subject: [PATCH] no more strat -r: caused boot failure for arch linux (WHY?!?!?) --- pmm.fish | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/pmm.fish b/pmm.fish index dff45a3..2270e78 100644 --- a/pmm.fish +++ b/pmm.fish @@ -62,7 +62,7 @@ function pmm set ncarg end echo "Upgrading the"(set_color green) "$j"(set_color normal) "stratum." - sudo strat -r $j apt upgrade $ncarg + sudo strat $j apt upgrade $ncarg end end for j in (brl list) @@ -73,7 +73,7 @@ function pmm set ncarg end echo "Upgrading the"(set_color green) "$j"(set_color normal) "stratum." - sudo strat -r $j pacman -Su $ncarg + sudo strat $j pacman -Su $ncarg end end for j in (brl list) @@ -84,7 +84,7 @@ function pmm set ncarg end echo "Upgrading the"(set_color green) "$j"(set_color normal) "stratum." - sudo strat -r $j xbps-install -u $ncarg + sudo strat $j xbps-install -u $ncarg end end for j in (brl list) @@ -95,19 +95,19 @@ function pmm set ncarg end echo "Upgrading the"(set_color green) "$j"(set_color normal) "stratum." - sudo strat -r $j dnf distro-sync $ncarg + sudo strat $j dnf distro-sync $ncarg end end for j in (brl list) if strat $j emerge --version > /dev/null 2>&1 echo "Upgrading the"(set_color green) "$j"(set_color normal) "stratum." - sudo strat -r $j emerge -uDU --keep-going --with-bdeps=y @world + sudo strat $j emerge -uDU --keep-going --with-bdeps=y @world end end for j in (brl list) if strat $j swupd --version > /dev/null 2>&1 echo "Upgrading the"(set_color green) "$j"(set_color normal) "stratum." - sudo strat -r $j swupd update + sudo strat $j swupd update end end echo "Upgrading the"(set_color green) "bedrock"(set_color normal) "stratum." @@ -183,7 +183,7 @@ function pmm set ncarg end echo "Installing $pkgs from the"(set_color green) "$stratum"(set_color normal) "stratum." - sudo strat -r $stratum apt install $pkgs $ncarg + sudo strat $stratum apt install $pkgs $ncarg end if strat $stratum pacman --version > /dev/null 2>&1 if test "$nc" = "1" @@ -192,7 +192,7 @@ function pmm set ncarg end echo "Installing $pkgs from the"(set_color green) "$stratum"(set_color normal) "stratum." - sudo strat -r $stratum pacman -S $pkgs $ncarg + sudo strat $stratum pacman -S $pkgs $ncarg end if strat $stratum xbps-install --version > /dev/null 2>&1 if test "$nc" = "1" @@ -201,7 +201,7 @@ function pmm set ncarg end echo "Installing $pkgs from the"(set_color green) "$stratum"(set_color normal) "stratum." - sudo strat -r $stratum xbps-install $pkgs $ncarg + sudo strat $stratum xbps-install $pkgs $ncarg end if strat $stratum dnf --version > /dev/null 2>&1 if test "$nc" = "1" @@ -210,7 +210,7 @@ function pmm set ncarg end echo "Installing $pkgs from the"(set_color green) "$stratum"(set_color normal) "stratum." - sudo strat -r $stratum dnf install $pkgs $ncarg + sudo strat $stratum dnf install $pkgs $ncarg end if strat $stratum emerge --version > /dev/null 2>&1 if test "$nc" = "1" @@ -219,7 +219,7 @@ function pmm set ncarg end echo "Installing $pkgs from the"(set_color green) "$stratum"(set_color normal) "stratum." - sudo strat -r $stratum emerge $pkgs $ncarg + sudo strat $stratum emerge $pkgs $ncarg end end end