Remove content from "/var/lib/apt/lists/" with "find" instead of a wildcard
This commit is contained in:
parent
6d4a3f5c45
commit
434d575dbe
@ -85,9 +85,8 @@ build {
|
|||||||
,
|
,
|
||||||
<<EOF
|
<<EOF
|
||||||
rm -f /etc/ssh/ssh_host_*key*
|
rm -f /etc/ssh/ssh_host_*key*
|
||||||
rm -f /etc/wireguard/*-*key
|
rm -f /etc/wireguard/*-*key /etc/wireguard/*-iface
|
||||||
rm -f /etc/wireguard/*-iface
|
find /var/lib/apt/lists/ -mindepth 1 -delete
|
||||||
rm -rf /var/lib/apt/lists/*
|
|
||||||
EOF
|
EOF
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user