Browse Source

gein.sh: Create '/mnt/gentoo' if missing

master
jcmdln 2 years ago
parent
commit
0e81195e37
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      gein.sh

+ 5
- 0
gein.sh View File

@@ -214,6 +214,11 @@ BOOTSTRAP() {
exit
fi

echo "gein: Ensuring /mnt/gentoo exists..."
if [ ! -e /mnt/gentoo ]; then
mkdir -p /mnt/gentoo
fi

echo "gein: Ensuring we are in /mnt/gentoo..."
if [ ! -e /mnt/gentoo/$(basename "$0") ]; then
cp "$0" /mnt/gentoo/

Loading…
Cancel
Save