summarylogtreecommitdiffstats
path: root/flutter-group-template.hook
diff options
context:
space:
mode:
authorKppqju772020-05-15 01:05:47 +0200
committerKppqju772020-05-15 01:05:47 +0200
commite7b6fea8db470bda9a26550c749a58e24d210db2 (patch)
tree0ed23d79198356acac8f6296cb8c3e6f491d6752 /flutter-group-template.hook
downloadaur-e7b6fea8db470bda9a26550c749a58e24d210db2.tar.gz
Initial commit for flutter-group-pacman-hook
Diffstat (limited to 'flutter-group-template.hook')
-rw-r--r--flutter-group-template.hook10
1 files changed, 10 insertions, 0 deletions
diff --git a/flutter-group-template.hook b/flutter-group-template.hook
new file mode 100644
index 00000000000..279798bcb71
--- /dev/null
+++ b/flutter-group-template.hook
@@ -0,0 +1,10 @@
+[Trigger]
+Type = Package
+Operation = Upgrade
+Operation = Install
+Target = flutter
+
+[Action]
+Description = Granting permission to group $FLUTTER_GROUP for flutter SDK
+When = PostTransaction
+Exec = /bin/sh -c 'chown -R :$FLUTTER_GROUP /opt/flutter && chmod -R g+w /opt/flutter' \ No newline at end of file