We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 690edbe commit 6fe6d51Copy full SHA for 6fe6d51
templates/update_had_no_effect.sh.epp
@@ -3,10 +3,10 @@
3
Integer $timeout = 30,
4
Integer $tries = 1,
5
| -%>
6
-eval "$(apt-config shell DIR Dir::Cache)"
+eval "$(apt-config shell DIR Dir::Cache || echo "DIR='var/cache/apt'")"
7
cd "/$DIR" || exit 0
8
OLD="$(mktemp -p "/$DIR")"
9
-eval "$(apt-config shell CUR Dir::Cache::pkgcache)"
+eval "$(apt-config shell CUR Dir::Cache::pkgcache || echo "CUR='pkgcache.bin'")"
10
ln -f "$CUR" "$OLD"
11
TRIES=<%= $tries %>
12
while true; do
0 commit comments