gluon-core: upgrade: don't print an error message on systems without opkg
This commit is contained in:
parent
cb33d518c6
commit
0a8e028e8f
@ -24,6 +24,7 @@ end
|
||||
|
||||
local prefix = subst['%%n'] .. '_'
|
||||
|
||||
if fs.access('/etc/opkg/distfeeds.conf') then
|
||||
local distfeeds = {}
|
||||
for line in io.lines('/etc/opkg/distfeeds.conf') do
|
||||
table.insert(distfeeds, line)
|
||||
@ -56,3 +57,4 @@ if site.opkg and site.opkg.extra and next(site.opkg.extra) then
|
||||
else
|
||||
os.remove('/etc/opkg/gluon.conf')
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user