]> git.ipfire.org Git - ipfire-2.x.git/commit
pakfire: Automatically compose $version
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 11 Feb 2020 14:28:46 +0000 (14:28 +0000)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 15 Feb 2020 11:07:55 +0000 (11:07 +0000)
commite6f4991be209040f436d9be23b414a6dda1e7fa5
tree42dcd7a0dab503a55857b9a648f5fb4780bfd0dc
parentd8f7b45f3501edbac6101f79df5f80266b503cb5
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>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
src/pakfire/lib/functions.pl
src/pakfire/pakfire.conf