summarylogtreecommitdiffstats
path: root/flutter-group-template.hook
blob: 279798bcb718c819bf9be8fe7e8a5cbfc75b7b54 (plain)
1
2
3
4
5
6
7
8
9
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'