aboutsummaryrefslogtreecommitdiff
path: root/update-hooks.sh
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2023-01-13 09:10:16 +0000
committerMartin Ashby <martin@ashbysoft.com>2023-01-13 09:10:16 +0000
commitbbbaa94c1851483446bd23732ce7bd1e47796220 (patch)
treef857ac4495776d673fbe9e925dcac2690e592e4d /update-hooks.sh
parentac00b9e1359f32d50184f9e73c7568fcc5101d1c (diff)
downloadmfashby.net-bbbaa94c1851483446bd23732ce7bd1e47796220.tar.gz
mfashby.net-bbbaa94c1851483446bd23732ce7bd1e47796220.tar.bz2
mfashby.net-bbbaa94c1851483446bd23732ce7bd1e47796220.tar.xz
mfashby.net-bbbaa94c1851483446bd23732ce7bd1e47796220.zip
Removed git LFS support
Diffstat (limited to 'update-hooks.sh')
-rwxr-xr-xupdate-hooks.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/update-hooks.sh b/update-hooks.sh
index a37c390..b3a3222 100755
--- a/update-hooks.sh
+++ b/update-hooks.sh
@@ -1,5 +1,6 @@
#!/usr/bin/env bash
## Configure git hooks
-git lfs install
+touch .git/hooks/pre-push
+chmod +x .git/hooks/pre-push
grep -qxF './deploy.sh' .git/hooks/pre-push || echo './deploy.sh' >> .git/hooks/pre-push