gluon-core: remove obsolete sysconfig.gluon_version handling

The file /lib/gluon/version/core hasn't existed since early 2014, so
this whole script is obsolete.
This commit is contained in:
Matthias Schiffer 2021-12-29 22:59:42 +01:00
parent 65da23ada4
commit 16bf5e3e5d
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -1,10 +0,0 @@
#!/usr/bin/lua
local sysconfig = require 'gluon.sysconfig'
local unistd = require 'posix.unistd'
if unistd.access('/lib/gluon/version/core') and not sysconfig.gluon_version then
-- This isn't an initial upgrade, so set gluon_version
sysconfig.gluon_version = ''
end