diff options
Diffstat (limited to 'upgrade-gentoo')
-rwxr-xr-x | upgrade-gentoo | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/upgrade-gentoo b/upgrade-gentoo index e0144a2..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 |