Browse Source

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

master
jcmdln 4 years ago
parent
commit
0e81195e37
  1. 5
      gein.sh

5
gein.sh

@ -214,6 +214,11 @@ BOOTSTRAP() { @@ -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