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
|
||||
cd $dir
|
||||
dpkg-deb --build lidarr
|
||||
mkdir -p $current_dir/build/lidarr
|
||||
cp lidarr.deb $current_dir/build/lidarr/lidarr-$name-$arch.deb
|
||||
mkdir -p $current_dir/build/$arch
|
||||
cp lidarr.deb $current_dir/build/$arch/lidarr/lidarr-$name-$arch.deb
|
||||
cd $current_dir
|
||||
rm -rf $dir
|
||||
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
|
||||
cd $dir
|
||||
dpkg-deb --build prowlarr
|
||||
mkdir -p $current_dir/build/prowlarr
|
||||
cp prowlarr.deb $current_dir/build/prowlarr/prowlarr-$name-$arch.deb
|
||||
mkdir -p $current_dir/build/$arch
|
||||
cp prowlarr.deb $current_dir/build/$arch/prowlarr/prowlarr-$name-$arch.deb
|
||||
cd $current_dir
|
||||
rm -rf $dir
|
||||
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
|
||||
cd $dir
|
||||
dpkg-deb --build radarr
|
||||
mkdir -p $current_dir/build/radarr
|
||||
cp radarr.deb $current_dir/build/radarr/radarr-$name-$arch.deb
|
||||
mkdir -p $current_dir/build/$arch
|
||||
cp radarr.deb $current_dir/build/$arch/radarr/radarr-$name-$arch.deb
|
||||
cd $current_dir
|
||||
rm -rf $dir
|
||||
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
|
||||
cd $dir
|
||||
dpkg-deb --build readarr
|
||||
mkdir -p $current_dir/build/readarr
|
||||
cp readarr.deb $current_dir/build/readarr/readarr-$name-$arch.deb
|
||||
mkdir -p $current_dir/build/$arch
|
||||
cp readarr.deb $current_dir/build/$arch/readarr/readarr-$name-$arch.deb
|
||||
cd $current_dir
|
||||
rm -rf $dir
|
||||
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
|
||||
cd $dir
|
||||
dpkg-deb --build sonarr
|
||||
mkdir -p $current_dir/build/sonarr
|
||||
cp sonarr.deb $current_dir/build/sonarr/sonarr-$name-$arch.deb
|
||||
mkdir -p $current_dir/build/$arch
|
||||
cp sonarr.deb $current_dir/build/$arch/sonarr/sonarr-$name-$arch.deb
|
||||
cd $current_dir
|
||||
rm -rf $dir
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue