summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpost-apt.d/60git-rm2
1 files changed, 1 insertions, 1 deletions
diff --git a/post-apt.d/60git-rm b/post-apt.d/60git-rm
index 73dc4d8..4a47435 100755
--- a/post-apt.d/60git-rm
+++ b/post-apt.d/60git-rm
@@ -3,7 +3,7 @@ set -e
TAB=" "
-for file in $(git status | egrep "^#${TAB}*deleted: *" | sed 's/.*deleted: *//'); do
+for file in $(git ls-files --deleted); do
if [ ! -d "$file" ]; then
git rm "$file"
fi