some typo fixes and clean up

This commit is contained in:
Dan Johansen 2018-12-21 23:19:22 +01:00
parent 981f33730a
commit 03ee823712
1 changed files with 3 additions and 3 deletions

View File

@ -93,8 +93,7 @@ create_install() {
wget https://www.strits.dk/files/Manjaro-ARM-$ARCH-latest.tar.gz
msg "Extracting $ARCH rootfs..."
sudo mkdir -p $TMPDIR/root
sudo bsdtar -xpf $TMPDIR/Manjaro-ARM-$ARCH-Latest.tar.gc -C $TMPDIR/root
sudo bsdtar -xpf $TMPDIR/Manjaro-ARM-$ARCH-latest.tar.gz -C $TMPDIR/root
msg "Setting up keyrings..."
sudo systemd-nspawn -D $TMPDIR/root pacman-key --init 1> /dev/null 2>&1
@ -171,7 +170,8 @@ create_install() {
sudo rm -rf $TMPDIR/root/var/log/*
# Remove temp files on host
sudo rm -rf $TMPDIR/user $TMPDIR/password
sudo rm -rf $TMPDIR/user $TMPDIR/password $TMPDIR/rootpassword
sudo rm -rf $TMPDIR/Manjaro-ARM-$ARCH-latest.tar.gz
msg "$DEVICE $EDITION install complete"
}