diff options
author | Patrick Simianer <pks@pks.rocks> | 2018-12-22 08:20:37 +0100 |
---|---|---|
committer | Patrick Simianer <pks@pks.rocks> | 2018-12-22 08:20:37 +0100 |
commit | c000411674c8eb01f3ec1de6077094f85b5f77a6 (patch) | |
tree | fd21091cca33368e25dc0c3cae2873f2ea0117a9 | |
parent | 5b49c5c9dc14d5882acd1fe7f3a5eeddace34fdd (diff) |
upgrade-gentoo: fixes, no localepurge
-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 |