run pkg-install earlier for cmake

pull/20/head
Botspot 5 years ago
parent c901555108
commit c8fb07e268

@ -35,6 +35,11 @@ if [ -d "${HOME}/zoom" ];then
else else
dlzoom=1 dlzoom=1
fi fi
# Get dependencies
cd $HOME
"${DIRECTORY}/pkg-install" "libxcb-xtest0 libxcb-xfixes0 cmake" "$(dirname "$0")" || exit 1
if [ $dlzoom == 1 ];then if [ $dlzoom == 1 ];then
echo "Downloading Zoom..." echo "Downloading Zoom..."
rm -rf "${HOME}/zoom" ~/zoom_i686.tar.xz rm -rf "${HOME}/zoom" ~/zoom_i686.tar.xz
@ -67,9 +72,7 @@ if [ ! -f /usr/local/bin/box86 ];then
error "Box86 should be installed by now, but /usr/local/bin/box86 does not exist!" error "Box86 should be installed by now, but /usr/local/bin/box86 does not exist!"
fi fi
# Get dependencies
cd $HOME cd $HOME
"${DIRECTORY}/pkg-install" "libxcb-xtest0 libxcb-xfixes0 cmake" "$(dirname "$0")" || exit 1
echo "Creating Application Menu button..." echo "Creating Application Menu button..."
echo "[Desktop Entry] echo "[Desktop Entry]

Loading…
Cancel
Save