delete /etc/opkg/keys on autoupdater upgrade
- does trigger on autoupdate after checking that the image is correct fixes https://github.com/freifunk-gluon/gluon/issues/2665
This commit is contained in:
parent
29912ec630
commit
9fe0feadbf
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/lua
|
||||
local handle = io.popen("ls /etc/opkg/keys -1")
|
||||
local files = handle:read("*a")
|
||||
handle:close()
|
||||
|
||||
for file in files:gmatch("[^\r\n]+") do
|
||||
local filePath = "/etc/opkg/keys/" .. file
|
||||
os.remove(filePath)
|
||||
end
|
Loading…
Reference in New Issue