diff --git a/install.sh b/install.sh index dbf6c5d..bb5bc2b 100755 --- a/install.sh +++ b/install.sh @@ -62,11 +62,11 @@ info 'Pacman settings.' wget http://mirror.archlinuxarm.org/aarch64/core/pacman-mirrorlist-20210307-1-any.pkg.tar.xz pacman -U pacman-mirrorlist-20210307-1-any.pkg.tar.xz --noconfirm rm pacman-mirrorlist-20210307-1-any.pkg.tar.xz +sed -i 's+RootDir = /data/data/com.termux/files/usr/+RootDir = /data/data/com.termux/files/+' $PREFIX/etc/pacman.conf wget http://mirror.archlinuxarm.org/armv6h/core/archlinuxarm-keyring-20140119-1-any.pkg.tar.xz pacman -U archlinuxarm-keyring-20140119-1-any.pkg.tar.xz --noconfirm rm archlinuxarm-keyring-20140119-1-any.pkg.tar.xz sed -i 's/#this//' $PREFIX/etc/pacman.conf -sed -i 's+RootDir = /data/data/com.termux/files/usr/+RootDir = /data/data/com.termux/files/+' $PREFIX/etc/pacman.conf pacman-key --init pacman-key --populate archlinuxarm