build dir

This commit is contained in:
Alex Janka 2024-05-18 12:14:59 +10:00
parent 05ca22e154
commit 511353d0d4
3 changed files with 5 additions and 2 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
build/

View file

@ -91,7 +91,8 @@ for ((i = 1; i < ${#tarballs[@]}; i += 2)); do
echo $control_file | sed -E "s/REPLACE_ARCHITECTURE/$arch/g" >DEBIAN/control
cd $dir
dpkg-deb --build radarr
cp radarr.deb $current_dir/radarr-$name-$arch.deb
mkdir -p $current_dir/build/radarr
cp radarr.deb $current_dir/build/radarr/radarr-$name-$arch.deb
cd $current_dir
else
echo "skipping arch $arch"

View file

@ -86,7 +86,8 @@ for ((i = 1; i < ${#tarballs[@]}; i += 2)); do
echo $control_file | sed -E "s/REPLACE_ARCHITECTURE/$arch/g" >DEBIAN/control
cd $dir
dpkg-deb --build sonarr
cp sonarr.deb $current_dir/sonarr-$name-$arch.deb
mkdir -p $current_dir/build/sonarr
cp sonarr.deb $current_dir/build/sonarr/sonarr-$name-$arch.deb
cd $current_dir
else
echo "skipping arch $arch"