home · contact · privacy
Fix.
[config] / buster / setup_scripts / setup_play.sh
old mode 100644 (file)
new mode 100755 (executable)
index c994eb9..d60f6f6
@@ -4,7 +4,7 @@ set -x
 
 if [ "$#" -lt 1 ]; then
   echo "Need public key ID and optionally old server IP."
-  fi
+  false
 fi
 gpg_key="$1"
 old_server="$2"
@@ -16,7 +16,7 @@ cp "${config_tree_prefix}/other_files/weechatrc" /home/plom/.weechatrc
 cp "${config_tree_prefix}/other_files/weechat-wrapper.sh" /home/plom/
 cp "${config_tree_prefix}/other_files/weechatlogs-encrypter.sh" /home/plom/
 chown plom:plom /home/plom/*weechat*
-echo "${gpg_key}" /home/plom/.encrypt_target
+echo "${gpg_key}" /home/plom/.encrypt_target
 chown plom:plom /home/plom/.encrypt_target
 
 # TODO refactor with setup_website.sh