This commit is contained in:
parent
e2bdbd9158
commit
895e8345a8
1 changed files with 4 additions and 0 deletions
4
run.sh
4
run.sh
|
@ -7,10 +7,14 @@ repo_dir=${REPO_DIR:-/repo}
|
|||
|
||||
# skip if already up-to-date
|
||||
# TODO: use the repo instead and check the version with dnf
|
||||
# yeah this is bad; see also the polycat-aaaaaa thing below
|
||||
touch polycat-tmp
|
||||
if $(ls polycat-* | grep -q "$version"); then
|
||||
rm polycat-tmp
|
||||
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