From 71c208693a641abab8584c4fe94b2f7ffbfe5127 Mon Sep 17 00:00:00 2001 From: askiiart Date: Wed, 26 Feb 2025 00:46:23 -0600 Subject: [PATCH] fix... stuff idek anymore --- run.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/run.sh b/run.sh index c814e9c..e40da6d 100755 --- a/run.sh +++ b/run.sh @@ -27,15 +27,13 @@ sed -i "s/RPM_PACKAGER_EMAIL/$RPM_PACKAGER_EMAIL/g" polycat.spec rpmbuild -bb polycat.spec mv ~/rpmbuild/RPMS/x86_64/polycat-$version-* $repo_dir/ -ls ~/rpmbuild/RPMS/x86_64/ -exit # remove old versions cd $repo_dir # this is the easiest way to make sure it doesn't just fail because no polycat-* exists # (which only happens on first run) -touch polycat-tmp.rpm +touch polycat-aaaaaa.rpm rm $(ls polycat-*.rpm | sort --version-sort | sed '$d') -rm polycat-tmp.rpm +rm polycat-aaaaaa.rpm # update repo createrepo_c .