summarylogtreecommitdiffstats
path: root/flutter-group-template.hook
diff options
context:
space:
mode:
authorjuadde2020-05-19 17:54:12 +0200
committerjuadde2020-05-19 17:54:12 +0200
commit0e91009845afd37f8e05e5ec674df230b72b3ee1 (patch)
tree42800682511be9f1af6e659c3544b6dc6e1ee5f2 /flutter-group-template.hook
parente7b6fea8db470bda9a26550c749a58e24d210db2 (diff)
downloadaur-0e91009845afd37f8e05e5ec674df230b72b3ee1.tar.gz
Add path configuration + trigger by this package
Diffstat (limited to 'flutter-group-template.hook')
-rw-r--r--flutter-group-template.hook5
1 files changed, 3 insertions, 2 deletions
diff --git a/flutter-group-template.hook b/flutter-group-template.hook
index 279798bcb71..597346685d5 100644
--- a/flutter-group-template.hook
+++ b/flutter-group-template.hook
@@ -3,8 +3,9 @@ Type = Package
Operation = Upgrade
Operation = Install
Target = flutter
+Target = flutter-group-pacman-hook
[Action]
-Description = Granting permission to group $FLUTTER_GROUP for flutter SDK
+Description = Granting permission to group $FLUTTER_GROUP for flutter SDK ($FLUTTER_PATH)
When = PostTransaction
-Exec = /bin/sh -c 'chown -R :$FLUTTER_GROUP /opt/flutter && chmod -R g+w /opt/flutter' \ No newline at end of file
+Exec = /bin/sh -c 'chown -R :$FLUTTER_GROUP "$FLUTTER_PATH" && chmod -R g+w "$FLUTTER_PATH"'