From 0885280ce0059f6b2c75e05c46deb80d35685ebf Mon Sep 17 00:00:00 2001 From: EnumDev Date: Wed, 16 Jul 2025 18:43:01 +0300 Subject: [PATCH] Update package version to 4.0.49 --- pkg.info | 4 ++-- source.sh | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pkg.info b/pkg.info index d24cc50..f680eca 100644 --- a/pkg.info +++ b/pkg.info @@ -1,11 +1,11 @@ name: mtools description: A collection of utilities to access MS-DOS disks without mounting them -version: 4.0.44 -revision: 2 +version: 4.0.49 url: https://www.gnu.org/software/mtools/ license: GPL3-or-later architecture: any depends: ["glibc"] optional_depends: ["libx11","libxau"] make_depends: ["libx11","texinfo"] +keep: ["etc/mtools.conf"] type: source diff --git a/source.sh b/source.sh index 3ea782e..04d25d1 100644 --- a/source.sh +++ b/source.sh @@ -10,6 +10,9 @@ FILENAME="${DOWNLOAD##*/}" prepare() { wget "$DOWNLOAD" tar -xvf "$FILENAME" --strip-components=1 -C "$BPM_SOURCE" + + # Comment out line in config file + sed -i '/^SAMPLE FILE/ s/./#&/' "$BPM_SOURCE"/mtools.conf } # The build function is executed in the source directory