We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55eee3e commit 841fd0fCopy full SHA for 841fd0f
templates/update_had_no_effect.sh.epp
@@ -13,6 +13,7 @@ apt-config shell CUR DIR::Cache::pkgcache >"$EVAL" && . "$EVAL"
13
[ "$CUR" ] || CUR=pkgcache.bin
14
OLD="$(mktemp)" || OLD="/${DIR}/${CUR}.old"
15
rm -f "$EVAL"
16
+[ -e "$CUR" ] || touch "$CUR"
17
ln -f "$CUR" "$OLD"
18
TRIES=<%= $tries %>
19
while true; do
0 commit comments