setup-archlinux.sh: use $TERMUX_PREFIX

This commit is contained in:
Leonid Pliushch 2020-10-30 21:37:18 +02:00
parent f20f6a35ba
commit 12f877401d

View File

@ -50,7 +50,9 @@ else
SUDO="sudo" SUDO="sudo"
fi fi
$SUDO pacman -Syq --noconfirm $PACKAGES $SUDO pacman -Syq --noconfirm $PACKAGES
$SUDO mkdir -p /data/data/com.termux/files/usr
. $(dirname "$(realpath "$0")")/properties.sh
$SUDO mkdir -p $TERMUX_PREFIX
$SUDO chown -R $(whoami) /data $SUDO chown -R $(whoami) /data
echo "Please also install ncurses5-compat-libs and makedepend packages from the AUR before continuing" echo "Please also install ncurses5-compat-libs and makedepend packages from the AUR before continuing"