From c000411674c8eb01f3ec1de6077094f85b5f77a6 Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Sat, 22 Dec 2018 08:20:37 +0100 Subject: upgrade-gentoo: fixes, no localepurge --- upgrade-gentoo | 4 ++-- 1 file 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 -- cgit v1.2.3