]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commit
pakfire: Automatically compose $version
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 11 Feb 2020 13:18:10 +0000 (13:18 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 11 Feb 2020 13:18:10 +0000 (13:18 +0000)
commita58e2a7cd02973493ddc594cd3e153971f8cfa2e
tree152af3d33bd726b16450f67d050a220788a8aa1c
parentee9bc7c477408e6cabe79e56549355712caae97a
pakfire: Automatically compose $version

The tree in which pakfire is looking for packages and Core Updates
has been hardcoded into /opt/pakfire/etc/pakfire.conf.

This patch adds a new function which reads the system release
from /etc/system-release.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/lib/functions.pl
src/pakfire/pakfire.conf