openhab / openhab-linuxpkg

Repo for Linux packages
Eclipse Public License 2.0
18 stars 33 forks source link

.deb packages incompatible with DPKG >1.20 #177

Closed BClark09 closed 3 years ago

BClark09 commented 3 years ago

Due to relative path names. Configuration files set directly e.g.

configurationFile('/etc/default/openhab')

Work correctly, however configuration files set inside an iteration do not as the leading slash is missing:

eachFile { details ->
            def pkgPath = details.path - 'conf'
            details.path = pkgPath
            configurationFile(details.path)
          }