Skip to content

Commit

Permalink
Update altaera_reinstall_keep_model.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
latestissue authored Sep 11, 2023
1 parent 862b184 commit 47f286a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions altaera-v2/altaera_reinstall_keep_model.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ dialog --title "Reinstall (fix) Altaera AI" \
response=$?
case $response in

0) proot-distro remove altaera
0) mv '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/altaera/root/koboldcpp-altaera/model.bin' '/data/data/com.termux/files/home/AltaeraAI-temp'
proot-distro remove altaera
cd '/data/data/com.termux/files/home'
rm -rf 'bash.bashrc'
rm -rf 'altaera-lang.sh'
Expand All @@ -19,7 +20,6 @@ case $response in
rm -rf 'install.sh'
rm -rf 'altaera-reinstall.sh'
rm -rf 'altaera-uninstall.sh'
mv '/data/data/com.termux/files/usr/var/lib/proot-distro/installed-rootfs/altaera/root/koboldcpp-altaera/model.bin' '/data/data/com.termux/files/home/AltaeraAI-temp'
clear
wget https://raw.githubusercontent.com/latestissue/altaera-packages.github.io/main/altaera-v2/altaera_install_pt-2.sh -q --show-progress
chmod a+x 'altaera_install_pt-2.sh'
Expand Down

0 comments on commit 47f286a

Please sign in to comment.