Fixed errors from PR

This commit is contained in:
Maksim Ivanov
2026-03-04 20:42:53 +03:00
parent 2a33d9ba9e
commit 62650fe1a8
2 changed files with 9 additions and 5 deletions

View File

@@ -34,7 +34,11 @@
`sudo ./scripts/fix-opera.sh`
4. Run install script and answer few questions.
4. Make install.sh executable
`chmod +x ./install.sh`
5. Run install script and answer few questions.
`sudo ./install.sh`

View File

@@ -10,17 +10,17 @@ if [[ $(uname -m) != "x86_64" ]]; then
exit 1
fi
if command -v unzip > /dev/null; then
if ! command -v unzip > /dev/null; then
printf '\033[1munzip\033[0m package must be installed to run this script\n'
exit 1
fi
if command -v curl > /dev/null; then
if ! command -v curl > /dev/null; then
printf '\033[1mcurl\033[0m package must be installed to run this script\n'
exit 1
fi
if command -v jq > /dev/null; then
if ! command -v jq > /dev/null; then
printf '\033[1mjq\033[0m package must be installed to run this script\n'
exit 1
fi
@@ -136,4 +136,4 @@ done
#Removing temporary files
printf 'Removing temporary files...\n'
rm -rf "$FIX_DIR"
rm -rf "$FIX_DIR"