mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-15 21:02:30 +01:00
pentoo-updater: fix logic bug in script
This commit is contained in:
parent
78a00cc5aa
commit
1e1ebaae38
1 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ if [ -n "${clst_target}" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
portageq list_preserved_libs /
|
portageq list_preserved_libs /
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? = 0 ]; then
|
||||||
emerge @preserved-rebuild --buildpkg=y || safe_exit
|
emerge @preserved-rebuild --buildpkg=y || safe_exit
|
||||||
fi
|
fi
|
||||||
smart-live-rebuild 2>&1 || safe_exit
|
smart-live-rebuild 2>&1 || safe_exit
|
||||||
|
|
@ -62,7 +62,7 @@ emerge --deep --update --newuse -kb --changed-use --newrepo @world || safe_exit
|
||||||
#we need to do the clean BEFORE we drop the extra flags otherwise all the packages we just built are removed
|
#we need to do the clean BEFORE we drop the extra flags otherwise all the packages we just built are removed
|
||||||
emerge --depclean || safe_exit
|
emerge --depclean || safe_exit
|
||||||
portageq list_preserved_libs /
|
portageq list_preserved_libs /
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? = 0 ]; then
|
||||||
emerge @preserved-rebuild --buildpkg=y || safe_exit
|
emerge @preserved-rebuild --buildpkg=y || safe_exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue