core120: Update pakfire keystore
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 3 Apr 2018 16:34:24 +0000 (17:34 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 3 Apr 2018 16:34:24 +0000 (17:34 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/120/update.sh

index 459262c..0744f3a 100644 (file)
@@ -74,6 +74,12 @@ fi
 # Remove deprecated SSH configuration option
 sed -e "/UsePrivilegeSeparation/d" -i /etc/ssh/sshd_config
 
+# Remove any pakfire keys stored in /
+rm -rfv /.gnupg
+
+# Move old pakfire keystore into new place
+mv -v /root/.gnupg /opt/pakfire/etc/.gnupg
+
 # Import new Pakfire key
 /etc/init.d/pakfire start