From 01f0a230d7ecdb05681a579fd053185c70749e5f Mon Sep 17 00:00:00 2001 From: sedot42 Date: Thu, 24 Apr 2025 10:19:54 +0200 Subject: [PATCH] fix syntax errors --- pkgrecover.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 pkgrecover.sh diff --git a/pkgrecover.sh b/pkgrecover.sh old mode 100644 new mode 100755 index 48a2a48..997fbde --- a/pkgrecover.sh +++ b/pkgrecover.sh @@ -7,17 +7,17 @@ YELLOW='\033[1;33m' directory_check() { #checks to make sure that all the important directories are mounted properly - if [[ ! -d /proc]]; then + if [[ ! -d /proc ]]; then echo -e "${RED} ERROR: /proc is not mounted. upgrading without /proc mounted can cause damage." exit 1 fi - - if [[ ! -d /sys]]; then + + if [[ ! -d /sys ]]; then echo -e "${RED} ERROR: /sys is not mounted. upgrading without /sys mounted can cause damage." exit 1 fi - if [[ ! -d /boot]]; then + if [[ ! -d /boot ]]; then echo -e "${RED} ERROR: /boot is not mounted. upgrading without /boot mounted can cause damage." exit 1 fi