summarylogtreecommitdiffstats
path: root/flutter.install
diff options
context:
space:
mode:
authorWithTheBraid2023-05-18 17:14:02 +0200
committerWithTheBraid2023-05-18 17:14:02 +0200
commit0470aa3ab12143f51dea335bb741dfc6cfa502c8 (patch)
tree0071bd17381a8fa27731dd7c07ffdd89f561b88d /flutter.install
parentf0dd62425808e67ad1be8832c1b1c7fac66738d8 (diff)
downloadaur-0470aa3ab12143f51dea335bb741dfc6cfa502c8.tar.gz
chore: bump version
Signed-off-by: WithTheBraid <the-one@with-the-braid.cf>
Diffstat (limited to 'flutter.install')
-rw-r--r--flutter.install4
1 files changed, 4 insertions, 0 deletions
diff --git a/flutter.install b/flutter.install
index d376bd5fa5ba..aec6a93a2c54 100644
--- a/flutter.install
+++ b/flutter.install
@@ -6,6 +6,8 @@ pre_upgrade() {
echo "Cleaning up previous flutter installation."
rm -rf "/opt/flutter"
fi
+
+ rm -rf "/opt/flutter/.git"
}
post_upgrade() {
@@ -18,4 +20,6 @@ post_upgrade() {
groupdel "flutterusers"
fi
fi
+
+ mv "/opt/flutter/.git-refs" "/opt/flutter/.git"
}