summarylogtreecommitdiffstats
path: root/fenrir.install
diff options
context:
space:
mode:
authorStorm Dragon2018-06-08 11:56:07 -0400
committerStorm Dragon2018-06-08 11:56:07 -0400
commitc870f989856903df00cd20ddcdbc0cd458c5a48a (patch)
treeaf96a28ba4b959e55119c1cb090113f04d795813 /fenrir.install
parent98f690214d912105c53f4106ba69c192ccdfee3e (diff)
downloadaur-c870f989856903df00cd20ddcdbc0cd458c5a48a.tar.gz
Updated the install file.
Diffstat (limited to 'fenrir.install')
-rw-r--r--fenrir.install11
1 files changed, 7 insertions, 4 deletions
diff --git a/fenrir.install b/fenrir.install
index 3974b40fa16b..417cab50d0d1 100644
--- a/fenrir.install
+++ b/fenrir.install
@@ -1,3 +1,10 @@
+pre_upgrade() {
+ if [[ -d /etc/fenrir ]]; then
+ [[ -d /etc/fenrirscreenreader ]] || cp -r /etc/fenrir /etc/fenrirscreenreader
+ echo "Fenrir's settings directory is now located at /etc/fenrirscreenreader. Your settings have been copied over to the new location. You can remove the old /etc/fenrir directory when you are sure you no longer need it."
+ fi
+}
+
post_install() {
_alert
}
@@ -13,9 +20,5 @@ sudo systemctl enable fenrir
Pulseaudio users may want to run
/usr/share/fenrir/tools/configure_pulse.sh
once as their user account and once as root.
-The files located at /opt/fenrir are no longer needed. Run:
-rm -rf /opt/fenrir
-if you wish to be rid of them.
EOF
}
-