summarylogtreecommitdiffstats
path: root/bs.install
diff options
context:
space:
mode:
authorAndy Weidenbaum2015-12-23 11:50:11 -0800
committerAndy Weidenbaum2015-12-23 11:50:11 -0800
commit598cc34bba2cd8e2681b9cff40aadaf6102b58b1 (patch)
tree36714f17b4d21b8b61e17ce9ffa150c72f8b1090 /bs.install
parentbe3ec33c000daab6e32ad4860f91fc0dae61c694 (diff)
downloadaur-598cc34bba2cd8e2681b9cff40aadaf6102b58b1.tar.gz
add post_upgrade hook
Diffstat (limited to 'bs.install')
-rw-r--r--bs.install6
1 files changed, 6 insertions, 0 deletions
diff --git a/bs.install b/bs.install
index 994e00ce0e6..97acf9cf09a 100644
--- a/bs.install
+++ b/bs.install
@@ -11,6 +11,12 @@ post_install() {
printf "%b\n" "$xx"
}
+post_upgrade() {
+ _mkuser
+ chown -R $_bs_user:$_bs_group /etc/bs /srv/bs /var/log/bs
+ printf "%b\n" "$xx"
+}
+
post_remove() {
_rmuser
rm -rf /etc/bs /srv/bs /var/log/bs