summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xinstall.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 1bd59c6..9bf276d 100755
--- a/install.sh
+++ b/install.sh
@@ -6,7 +6,10 @@ set -e
CDPATH='' cd -- "$(dirname -- "$0")" || exit
printf "%s: Removing bad links\n" "$0"
-git diff-tree --no-commit-id --name-status e6051a3..HEAD -r |
+(
+ git diff-tree --no-commit-id --name-status e6051a3..HEAD -r
+ git diff --no-commit-id --name-status -r
+) |
grep -oP 'D\t[^/]+/\K(.*)' |
while read -r f; do
if [ -L "../$f" ] && [ ! -e "../$f" ]; then