From 8dc2909d08d11725b41b3bbf9d85ced6a344c371 Mon Sep 17 00:00:00 2001 From: Ward Nakchbandi Date: Sat, 4 Mar 2023 12:07:54 +0300 Subject: [PATCH] fix changelog generator #2 --- main.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/main.sh b/main.sh index 1203e89..8b1d712 100755 --- a/main.sh +++ b/main.sh @@ -1,3 +1,4 @@ +#! /bin/bash # Add dependent repositories wget -q -O - https://ppa.pika-os.com/key.gpg | sudo apt-key add - add-apt-repository https://ppa.pika-os.com @@ -8,13 +9,13 @@ git clone https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmwar cp -rvf ./debian-firmware/* ./linux-firmware/ cd ./linux-firmware touch debian/changelog -echo -e "linux-firmware ("$(date '+%Y%m%d')".git-99pika"$(date '+%M')") kinetic; urgency=medium\n\n\t* New Upstream Release\n\n-- Ward Nakchbandi Sat, 01 Oct 2022 14:50:00 +0200" > debian/changelog +echo -e "linux-firmware ("$(date '+%Y%m%d')".git-99pika"$(date '+%M')") kinetic; urgency=medium\n\n * New Upstream Release\n\n -- Ward Nakchbandi Sat, 01 Oct 2022 14:50:00 +0200" > debian/changelog # Get build deps apt-get build-dep ./ -y # Build package -LOGNAME=root dh_make --createorig -y -l -p linux-firmware_"$(date '+%Y%m%d')" +LOGNAME=root dh_make --createorig -y -l -p linux-firmware_"$(date '+%Y%m%d')" || echo "dh-make didn't go clean" dpkg-buildpackage # Move the debs to output