Fix directory erase
This commit is contained in:
@@ -33,8 +33,8 @@ fi
|
||||
}
|
||||
|
||||
updatescripts(){
|
||||
if [ ! -f /.SSH/script/ ]; then
|
||||
rm /.SSH/script
|
||||
if [ -f /.SSH/script/ ]; then
|
||||
rm -rf /.SSH/script
|
||||
fi
|
||||
mkdir /.SSH/script
|
||||
wget -q https://git.franscorack.com/Franscobec/AutoremakeSSH/raw/branch/main/renewkeys.sh -O /.SSH/script/renewkeys.sh
|
||||
|
||||
Reference in New Issue
Block a user