debug rar

This commit is contained in:
Mario Fetka 2024-05-10 20:44:39 +02:00
parent 5332c84781
commit cbcf4d4820
2 changed files with 6 additions and 2 deletions

View File

@ -82,18 +82,22 @@ if [ "${ARCH}" = "x86_64-linux-gnu" ]; then
INIMOD_ARCH="amd64"
MYSTIC_ARCH="l64"
MYSTIC_EXT="rar"
RARLAB="rar"
elif [ "${ARCH}" = "i386-linux-gnu" ]; then
INIMOD_ARCH="amd32"
MYSTIC_ARCH="l32"
MYSTIC_EXT="rar"
RARLAB="rar"
elif [ "${ARCH}" = "aarch64-linux-gnu" ]; then
INIMOD_ARCH="arm64"
MYSTIC_ARCH="p64"
MYSTIC_EXT="zip"
RARLAB=""
elif [ "${ARCH}" = "arm-linux-gnueabihf" ]; then
INIMOD_ARCH="arm32"
MYSTIC_ARCH="p32"
MYSTIC_EXT="zip"
RARLAB=""
else
echo "Architecture not supported: ${ARCH}"
exit 1

View File

@ -7,8 +7,8 @@ echo -e "${DGN}Install Mystic to: ${BGN}$MYSTIC_DIR${CL}"
read -p "Press enter to continue"
msg_info "Starting ${APP} Installation"
#apt install -y python3 python2 libpython2.7 arj zip rar unrar dos2unix &>/dev/null
apt install -y python3 python2 libpython2.7 arj zip rar unrar dos2unix
#apt install -y python3 python2 libpython2.7 arj zip unrar dos2unix ${RARLAB} &>/dev/null
apt install -y python3 python2 libpython2.7 arj zip unrar dos2unix ${RARLAB}
#wget -N http://www.mysticbbs.com/${UPSTREAM}/mys${MYSTIC_VER}_${MYSTIC_ARCH}.${MYSTIC_EXT} -O $MSTEMPDIR/mys${MYSTIC_VER}_${MYSTIC_ARCH}.${MYSTIC_EXT} &>/dev/null
wget -N http://www.mysticbbs.com/${UPSTREAM}/mys${MYSTIC_VER}_${MYSTIC_ARCH}.${MYSTIC_EXT} -O $MSTEMPDIR/mys${MYSTIC_VER}_${MYSTIC_ARCH}.${MYSTIC_EXT}
rm -rf $MSTEMPDIR/mystic-${MYSTIC_VER} &>/dev/null