home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 26 Jun 2020 21:17:18 +0000 (23:17 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 26 Jun 2020 21:17:18 +0000 (23:17 +0200)
buster/apt-mark/play
buster/etc_files/play/etc/systemd/system/encrypt_chatlogs.service
buster/setup_scripts/setup_play.sh [changed mode: 0644->0755]

index e9ad25a95b6db9119f3d65f98a9e3c23dec2cac8..154f7e70a48d0bf9fb036812dff888490a516c51 100644 (file)
@@ -1,2 +1,4 @@
 weechat
 screen
+gnupg
+dirmngr
index d7b6e49e7eb2e4ae77573a64735166f16a480184..bc81613c66afbc890b293bb5c40db71f36500a35 100644 (file)
@@ -3,4 +3,4 @@ Description=Attempt encryption of old chat logs
 [Service]
 Type=oneshot
 User=plom
-ExecStart=/bin/sh -c '~/encrypter.sh'
+ExecStart=/bin/sh -c '~/weechatlogs_encrypter.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