summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexei Colin2017-06-23 02:41:58 -0400
committerAlexei Colin2017-06-23 02:41:58 -0400
commitc66887a1ac60e8249b4d42fc2e8a3c2086790646 (patch)
tree3cc089a7d20b5fc7405e8bcc81a65daa8a92d817
parent39cac37911f647a5df2d4e8caa0a142097aac2f4 (diff)
downloadaur-c66887a1ac60e8249b4d42fc2e8a3c2086790646.tar.gz
install: chmod on upgrade too
-rw-r--r--ccstudio.install4
1 files changed, 4 insertions, 0 deletions
diff --git a/ccstudio.install b/ccstudio.install
index ebef74345533..4120cdc86740 100644
--- a/ccstudio.install
+++ b/ccstudio.install
@@ -21,6 +21,10 @@ post_install() {
echo ">>> sudo usermod -a -G ${_grp} \$(whoami)"
}
+post_upgrade() {
+ chgrp -R $_grp $_dir
+}
+
post_remove() {
# Since CCS treats its install direcotry as working directory, trash is left.
# NOTE: other directories (${_dir}/tools) might have also been created, but