Explorar o código

Fix set up script bug

`sh` does not know of the compound conditional syntax.
Weiyi Lou %!s(int64=10) %!d(string=hai) anos
pai
achega
6b35989c67
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      setup.sh

+ 1 - 1
setup.sh

@@ -19,7 +19,7 @@ mkdir "$backup_dir"
 
 # Backup a given file.
 backup() {
-  [[ -e "$1" ]] && mv "$1" "$backup_dir"
+  [ -e "$1" ] && mv "$1" "$backup_dir"
 }
 
 # Create links after backing up.