diff options
Diffstat (limited to 'upgrade-gentoo')
-rwxr-xr-x | upgrade-gentoo | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/upgrade-gentoo b/upgrade-gentoo index 03e7c50..4f79756 100755 --- a/upgrade-gentoo +++ b/upgrade-gentoo @@ -2,7 +2,7 @@ HOST=$(hostname) -source $HOME/.local/bin/func.zsh +source $(dirname $0)/func.zsh check_root @@ -18,6 +18,7 @@ if [[ $HOST == "bogues" ]]; then rsync -avv /usr/portage/ /usr/portage_/ umount /usr/portage rm -f /usr/portage.squashfs + rmdir /usr/portage mv /usr/portage_ /usr/portage fi @@ -37,7 +38,6 @@ emerge -av --depclean revdep-rebuild emerge @preserved-rebuild eclean -d distfiles -localepurge if [[ $HOST == "bogues" ]]; then mksquashfs /usr/portage /usr/portage.squashfs -comp xz |