summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 18:42:37 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-18 18:42:37 +0000
commit51e2fcc913ddf2346537d81d59d52b13feca3c12 (patch)
treede0de895a62c46bf30da46fc031f7f51f15c1747
parentUpdating. (diff)
downloadprogress-linux-tools-51e2fcc913ddf2346537d81d59d52b13feca3c12.tar.xz
progress-linux-tools-51e2fcc913ddf2346537d81d59d52b13feca3c12.zip
Updating.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rwxr-xr-xbin/linux-pupdate.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/linux-pupdate.sh b/bin/linux-pupdate.sh
index 7d17e8c..f746194 100755
--- a/bin/linux-pupdate.sh
+++ b/bin/linux-pupdate.sh
@@ -12,9 +12,15 @@ do
git checkout progress-linux
rm -rf debian/build debian/linux-image* debian/linux-headers*
- cp -f DEB/config.defines.dump DEB/control* DEB/linux-image* DEB/linux-headers* DEB/rules.gen debian
+ cp -f DEB/control* DEB/linux-image* DEB/linux-headers* DEB/rules.gen debian
cp -f DEB/tests/control debian/tests
+ if [ -e DEB/config.defines.dump ]
+ then
+ # linux 6.6 or older
+ cp -f DEB/config.defines.dump debian
+ fi
+
if git slog | grep -qs 'Setting abiname to [0-9]*'
then
# debian 12 or older