diff options
author | Patrick Simianer <pks@pks.rocks> | 2019-06-09 13:48:31 +0200 |
---|---|---|
committer | Patrick Simianer <pks@pks.rocks> | 2019-06-09 13:48:31 +0200 |
commit | 2ae5542e54ae23d28c60e7a39be6d80e1e708cb3 (patch) | |
tree | 57e0be59f057bf4c7ee73c7b265b348610a73e7b | |
parent | f63af635975ad1d8949c0da3e065b43782b34104 (diff) | |
parent | 2f30c7844636cdbaa2d546d963702258f82646a3 (diff) |
Merge branch 'master' of ssh://github.com/pks/bin
-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 |