summarylogtreecommitdiffstats
path: root/flutter-group-template.hook
diff options
context:
space:
mode:
authorKppqju772022-04-19 13:16:06 +0200
committerKppqju772022-04-19 13:16:06 +0200
commit13fa0ec54ab8184b966fbc418b3457fd170e0a56 (patch)
tree25ae06a29e40848129680b2f8caca81317649c69 /flutter-group-template.hook
parent7d2ce969dd1f99ba78a75fd5e6ba03b2be0cff15 (diff)
downloadaur-13fa0ec54ab8184b966fbc418b3457fd170e0a56.tar.gz
Add git workaround for flutter version fetching
Diffstat (limited to 'flutter-group-template.hook')
-rwxr-xr-xflutter-group-template.hook2
1 files changed, 1 insertions, 1 deletions
diff --git a/flutter-group-template.hook b/flutter-group-template.hook
index b5bc5755134..2126ca28d28 100755
--- a/flutter-group-template.hook
+++ b/flutter-group-template.hook
@@ -8,4 +8,4 @@ Target = usr/share/libalpm/hooks/flutter-group.hook
[Action]
Description = Granting permission to group $FLUTTER_GROUP for flutter SDK ($FLUTTER_PATH)
When = PostTransaction
-Exec = /bin/sh -c 'chown -R :$FLUTTER_GROUP "$FLUTTER_PATH" && chmod -R g+w "$FLUTTER_PATH"'
+Exec = /bin/sh -c 'chown -R :$FLUTTER_GROUP "$FLUTTER_PATH" && chmod -R g+w "$FLUTTER_PATH" && git config --global --add safe.directory "$FLUTTER_PATH"'