We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3128fb commit 893292bCopy full SHA for 893292b
unit6_fix_sp24.sh
@@ -29,8 +29,11 @@ if [ "$EUID" -ne 0 ]; then
29
fi
30
31
# Installing unzip to ensure system won't crash
32
-apt install unzip -y
33
-echo "Unzip installed and latest version moving into install script\n"
+if ! dpkg -s unzip > /dev/null; then
+ echo "${red}[UNZIP]${none} Unzip not installed. Installing now..."
34
+ apt install unzip -y
35
+ echo -e "${green}[UNZIP]${none} Unzip installed."
36
+fi
37
38
CATALYST_INSTALL_PATH=/opt/catalyst
39
mkdir -p $CATALYST_INSTALL_PATH
0 commit comments