Skip to content
Snippets Groups Projects
Unverified Commit 0a8e028e authored by Matthias Schiffer's avatar Matthias Schiffer
Browse files

gluon-core: upgrade: don't print an error message on systems without opkg

parent cb33d518
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment