build dir divided by arch not package
This commit is contained in:
parent
9679a19c58
commit
82d54c7e48
|
@ -94,8 +94,8 @@ for ((i = 1; i < ${#tarballs[@]}; i += 2)); do
|
||||||
echo $control_file | sed -E "s/REPLACE_ARCHITECTURE/$arch/g" >DEBIAN/control
|
echo $control_file | sed -E "s/REPLACE_ARCHITECTURE/$arch/g" >DEBIAN/control
|
||||||
cd $dir
|
cd $dir
|
||||||
dpkg-deb --build lidarr
|
dpkg-deb --build lidarr
|
||||||
mkdir -p $current_dir/build/lidarr
|
mkdir -p $current_dir/build/$arch
|
||||||
cp lidarr.deb $current_dir/build/lidarr/lidarr-$name-$arch.deb
|
cp lidarr.deb $current_dir/build/$arch/lidarr/lidarr-$name-$arch.deb
|
||||||
cd $current_dir
|
cd $current_dir
|
||||||
rm -rf $dir
|
rm -rf $dir
|
||||||
else
|
else
|
||||||
|
|
|
@ -87,8 +87,8 @@ for ((i = 1; i < ${#tarballs[@]}; i += 2)); do
|
||||||
echo $control_file | sed -E "s/REPLACE_ARCHITECTURE/$arch/g" >DEBIAN/control
|
echo $control_file | sed -E "s/REPLACE_ARCHITECTURE/$arch/g" >DEBIAN/control
|
||||||
cd $dir
|
cd $dir
|
||||||
dpkg-deb --build prowlarr
|
dpkg-deb --build prowlarr
|
||||||
mkdir -p $current_dir/build/prowlarr
|
mkdir -p $current_dir/build/$arch
|
||||||
cp prowlarr.deb $current_dir/build/prowlarr/prowlarr-$name-$arch.deb
|
cp prowlarr.deb $current_dir/build/$arch/prowlarr/prowlarr-$name-$arch.deb
|
||||||
cd $current_dir
|
cd $current_dir
|
||||||
rm -rf $dir
|
rm -rf $dir
|
||||||
else
|
else
|
||||||
|
|
|
@ -92,8 +92,8 @@ for ((i = 1; i < ${#tarballs[@]}; i += 2)); do
|
||||||
echo $control_file | sed -E "s/REPLACE_ARCHITECTURE/$arch/g" >DEBIAN/control
|
echo $control_file | sed -E "s/REPLACE_ARCHITECTURE/$arch/g" >DEBIAN/control
|
||||||
cd $dir
|
cd $dir
|
||||||
dpkg-deb --build radarr
|
dpkg-deb --build radarr
|
||||||
mkdir -p $current_dir/build/radarr
|
mkdir -p $current_dir/build/$arch
|
||||||
cp radarr.deb $current_dir/build/radarr/radarr-$name-$arch.deb
|
cp radarr.deb $current_dir/build/$arch/radarr/radarr-$name-$arch.deb
|
||||||
cd $current_dir
|
cd $current_dir
|
||||||
rm -rf $dir
|
rm -rf $dir
|
||||||
else
|
else
|
||||||
|
|
|
@ -92,8 +92,8 @@ for ((i = 1; i < ${#tarballs[@]}; i += 2)); do
|
||||||
echo $control_file | sed -E "s/REPLACE_ARCHITECTURE/$arch/g" >DEBIAN/control
|
echo $control_file | sed -E "s/REPLACE_ARCHITECTURE/$arch/g" >DEBIAN/control
|
||||||
cd $dir
|
cd $dir
|
||||||
dpkg-deb --build readarr
|
dpkg-deb --build readarr
|
||||||
mkdir -p $current_dir/build/readarr
|
mkdir -p $current_dir/build/$arch
|
||||||
cp readarr.deb $current_dir/build/readarr/readarr-$name-$arch.deb
|
cp readarr.deb $current_dir/build/$arch/readarr/readarr-$name-$arch.deb
|
||||||
cd $current_dir
|
cd $current_dir
|
||||||
rm -rf $dir
|
rm -rf $dir
|
||||||
else
|
else
|
||||||
|
|
|
@ -88,8 +88,8 @@ for ((i = 1; i < ${#tarballs[@]}; i += 2)); do
|
||||||
echo $control_file | sed -E "s/REPLACE_ARCHITECTURE/$arch/g" >DEBIAN/control
|
echo $control_file | sed -E "s/REPLACE_ARCHITECTURE/$arch/g" >DEBIAN/control
|
||||||
cd $dir
|
cd $dir
|
||||||
dpkg-deb --build sonarr
|
dpkg-deb --build sonarr
|
||||||
mkdir -p $current_dir/build/sonarr
|
mkdir -p $current_dir/build/$arch
|
||||||
cp sonarr.deb $current_dir/build/sonarr/sonarr-$name-$arch.deb
|
cp sonarr.deb $current_dir/build/$arch/sonarr/sonarr-$name-$arch.deb
|
||||||
cd $current_dir
|
cd $current_dir
|
||||||
rm -rf $dir
|
rm -rf $dir
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue