mirror of
https://github.com/freifunk-gluon/packages.git
synced 2024-06-17 04:33:59 +02:00
autoupdater: make cleanup more secure
This commit is contained in:
parent
0d01eb472a
commit
bca358bdee
|
@ -32,10 +32,10 @@ newer_than() {
|
|||
}
|
||||
|
||||
cleanup() {
|
||||
rm -f $manifest
|
||||
rm -f $fw_image
|
||||
rm -f $manifest_upper
|
||||
rm -f $manifest_lower
|
||||
[ -f "$manifest" ] && rm -f "$manifest"
|
||||
[ -f "$fw_image" ] && rm -f "$fw_image"
|
||||
[ -f "$manifest_upper" ] && rm -f "$manifest_upper"
|
||||
[ -f "$manifest_lower" ] && rm -f "$manifest_lower"
|
||||
}
|
||||
|
||||
fail() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user