diff options
author | Andy Weidenbaum | 2015-12-23 11:50:11 -0800 |
---|---|---|
committer | Andy Weidenbaum | 2015-12-23 11:50:11 -0800 |
commit | 598cc34bba2cd8e2681b9cff40aadaf6102b58b1 (patch) | |
tree | 36714f17b4d21b8b61e17ce9ffa150c72f8b1090 /bs.install | |
parent | be3ec33c000daab6e32ad4860f91fc0dae61c694 (diff) | |
download | aur-598cc34bba2cd8e2681b9cff40aadaf6102b58b1.tar.gz |
add post_upgrade hook
Diffstat (limited to 'bs.install')
-rw-r--r-- | bs.install | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bs.install b/bs.install index 994e00ce0e63..97acf9cf09a0 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 |