no more strat -r: caused boot failure for arch linux (WHY?!?!?)

master
shark 5 years ago
parent 21a72d5c1e
commit 0136919bd4

@ -62,7 +62,7 @@ function pmm
set ncarg set ncarg
end end
echo "Upgrading the"(set_color green) "$j"(set_color normal) "stratum." 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
end end
for j in (brl list) for j in (brl list)
@ -73,7 +73,7 @@ function pmm
set ncarg set ncarg
end end
echo "Upgrading the"(set_color green) "$j"(set_color normal) "stratum." 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
end end
for j in (brl list) for j in (brl list)
@ -84,7 +84,7 @@ function pmm
set ncarg set ncarg
end end
echo "Upgrading the"(set_color green) "$j"(set_color normal) "stratum." 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
end end
for j in (brl list) for j in (brl list)
@ -95,19 +95,19 @@ function pmm
set ncarg set ncarg
end end
echo "Upgrading the"(set_color green) "$j"(set_color normal) "stratum." 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
end end
for j in (brl list) for j in (brl list)
if strat $j emerge --version > /dev/null 2>&1 if strat $j emerge --version > /dev/null 2>&1
echo "Upgrading the"(set_color green) "$j"(set_color normal) "stratum." 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
end end
for j in (brl list) for j in (brl list)
if strat $j swupd --version > /dev/null 2>&1 if strat $j swupd --version > /dev/null 2>&1
echo "Upgrading the"(set_color green) "$j"(set_color normal) "stratum." echo "Upgrading the"(set_color green) "$j"(set_color normal) "stratum."
sudo strat -r $j swupd update sudo strat $j swupd update
end end
end end
echo "Upgrading the"(set_color green) "bedrock"(set_color normal) "stratum." echo "Upgrading the"(set_color green) "bedrock"(set_color normal) "stratum."
@ -183,7 +183,7 @@ function pmm
set ncarg set ncarg
end end
echo "Installing $pkgs from the"(set_color green) "$stratum"(set_color normal) "stratum." 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 end
if strat $stratum pacman --version > /dev/null 2>&1 if strat $stratum pacman --version > /dev/null 2>&1
if test "$nc" = "1" if test "$nc" = "1"
@ -192,7 +192,7 @@ function pmm
set ncarg set ncarg
end end
echo "Installing $pkgs from the"(set_color green) "$stratum"(set_color normal) "stratum." 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 end
if strat $stratum xbps-install --version > /dev/null 2>&1 if strat $stratum xbps-install --version > /dev/null 2>&1
if test "$nc" = "1" if test "$nc" = "1"
@ -201,7 +201,7 @@ function pmm
set ncarg set ncarg
end end
echo "Installing $pkgs from the"(set_color green) "$stratum"(set_color normal) "stratum." 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 end
if strat $stratum dnf --version > /dev/null 2>&1 if strat $stratum dnf --version > /dev/null 2>&1
if test "$nc" = "1" if test "$nc" = "1"
@ -210,7 +210,7 @@ function pmm
set ncarg set ncarg
end end
echo "Installing $pkgs from the"(set_color green) "$stratum"(set_color normal) "stratum." 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 end
if strat $stratum emerge --version > /dev/null 2>&1 if strat $stratum emerge --version > /dev/null 2>&1
if test "$nc" = "1" if test "$nc" = "1"
@ -219,7 +219,7 @@ function pmm
set ncarg set ncarg
end end
echo "Installing $pkgs from the"(set_color green) "$stratum"(set_color normal) "stratum." 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 end
end end

Loading…
Cancel
Save