correct unrar command
This commit is contained in:
parent
155fcd3891
commit
07adc720ff
@ -9,9 +9,9 @@ rm -rf $MSTEMPDIR/mystic-${MYSTIC_VER} &>/dev/null
|
|||||||
mkdir -p $MSTEMPDIR/mystic-${MYSTIC_VER} &>/dev/null
|
mkdir -p $MSTEMPDIR/mystic-${MYSTIC_VER} &>/dev/null
|
||||||
pushd $MSTEMPDIR/mystic-${MYSTIC_VER} &>/dev/null
|
pushd $MSTEMPDIR/mystic-${MYSTIC_VER} &>/dev/null
|
||||||
if [ "${MYSTIC_EXT}" = "rar" ]; then
|
if [ "${MYSTIC_EXT}" = "rar" ]; then
|
||||||
unrar -x ../mys${MYSTIC_VER}_${MYSTIC_ARCH}.${MYSTIC_EXT} &>/dev/null
|
unrar x $MSTEMPDIR/mys${MYSTIC_VER}_${MYSTIC_ARCH}.${MYSTIC_EXT} &>/dev/null
|
||||||
elif [ "${MYSTIC_EXT}" = "zip" ]; then
|
elif [ "${MYSTIC_EXT}" = "zip" ]; then
|
||||||
unzip ../mys${MYSTIC_VER}_${MYSTIC_ARCH}.${MYSTIC_EXT} &>/dev/null
|
unzip $MSTEMPDIR/mys${MYSTIC_VER}_${MYSTIC_ARCH}.${MYSTIC_EXT} &>/dev/null
|
||||||
else
|
else
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user