Skip to content

Commit b949745

Browse files
committed
Workaround if apt update does not create pkgcache.bin
1 parent 841fd0f commit b949745

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/update_had_no_effect.sh.epp

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ while true; do
2727
TRIES=$(( TRIES - 1 ))
2828
done
2929
SAME=1
30+
[ -e "$CUR" ] || touch "$CUR"
3031
cmp "$CUR" "$OLD" && SAME=0
3132
rm -f "$OLD"
3233
exit $SAME

0 commit comments

Comments
 (0)