This reverts commit 08ab65f488
.
This commit is contained in:
parent
08ab65f488
commit
02bd17a94a
1 changed files with 1 additions and 5 deletions
6
run.sh
6
run.sh
|
@ -6,14 +6,10 @@ version=$(cat $built_dir/version)
|
|||
repo_dir=${REPO_DIR:-/repo}
|
||||
|
||||
# skip if already up-to-date
|
||||
# this is the easiest way to make sure it doesn't just fail because no polycat-* exists
|
||||
touch polycat-tmp
|
||||
if $(ls $repo_dir/polycat-* | grep -q "$version"); then
|
||||
rm polycat-tmp
|
||||
if $(ls polycat-* | grep -q "$version"); then
|
||||
echo "package is already up to date, exiting"
|
||||
exit
|
||||
fi
|
||||
rm polycat-tmp
|
||||
|
||||
# prep
|
||||
dnf install fedora-packager rpmdevtools createrepo_c -y
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue