summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xaptdpkgro.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/aptdpkgro.sh b/aptdpkgro.sh
index 71dc44d..47da72b 100755
--- a/aptdpkgro.sh
+++ b/aptdpkgro.sh
@@ -10,6 +10,7 @@ while read debname; do
dir=`dirname "$file"`;
base=`basename "$file"`;
inode=`find "$file" -printf "%i\n"`
+ [ -L "$dir/.${base}.dpkg-ro-used.$inode" ] || continue
(cd "$dir" && ln "$base" ".${base}.dpkg-ro-used.$inode")
echo "$dir/.${base}.dpkg-ro-used.$inode"
done >>/var/lib/my_ro_hack.todel