From d2de8b62ffa330178ee6886d53b1029f085e9c1d Mon Sep 17 00:00:00 2001 From: Erik Dubois Date: Fri, 5 Mar 2021 17:12:15 +0100 Subject: [PATCH] rename the pkglist --- installation-scripts/30-build-the-iso-the-first-time.sh | 5 +++-- installation-scripts/40-build-the-iso-local-again.sh | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/installation-scripts/30-build-the-iso-the-first-time.sh b/installation-scripts/30-build-the-iso-the-first-time.sh index 23da7c4..113757e 100755 --- a/installation-scripts/30-build-the-iso-the-first-time.sh +++ b/installation-scripts/30-build-the-iso-the-first-time.sh @@ -281,10 +281,11 @@ echo # echo "Building md5sum" # echo "########################" # md5sum $isoLabel | tee $isoLabel.md5 - echo +# echo echo "Moving pkglist.x86_64.txt" echo "########################" - cp $buildFolder/iso/arch/pkglist.x86_64.txt $outFolder/$isoLabel".pkglist.txt" + rename=$(date +%Y-%m-%d) + cp $buildFolder/iso/arch/pkglist.x86_64.txt $outFolder/archlinux-$rename-pkglist.txt echo diff --git a/installation-scripts/40-build-the-iso-local-again.sh b/installation-scripts/40-build-the-iso-local-again.sh index 1a46184..3c25eaf 100755 --- a/installation-scripts/40-build-the-iso-local-again.sh +++ b/installation-scripts/40-build-the-iso-local-again.sh @@ -284,7 +284,8 @@ echo # echo echo "Moving pkglist.x86_64.txt" echo "########################" - cp $buildFolder/iso/arch/pkglist.x86_64.txt $outFolder/pkglist.txt + rename=$(date +%Y-%m-%d) + cp $buildFolder/iso/arch/pkglist.x86_64.txt $outFolder/archlinux-$rename-pkglist.txt #echo