summarylogtreecommitdiffstats
path: root/flutter-group-template.hook
diff options
context:
space:
mode:
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