mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
25 lines
531 B
Bash
25 lines
531 B
Bash
|
|
||
|
build_cmd_deb_1() {
|
||
|
pushd ~
|
||
|
sudo /root/build_synapse_bin.sh $1 $2 --chroot-yes
|
||
|
popd
|
||
|
sudo chown app_upgrader ~/$2*
|
||
|
}
|
||
|
build_cmd_deb_2() {
|
||
|
local target_dir=~
|
||
|
sudo chroot /mnt/bookworm_build /root/build_synapse_bin.sh $1 $2 --chroot-yes
|
||
|
sudo mv -t $target_dir /mnt/bookworm_build/$2*
|
||
|
sudo chown app_upgrader $target_dir/$2*
|
||
|
}
|
||
|
|
||
|
|
||
|
build_result_path_deb_1=~
|
||
|
build_result_path_deb_2=~
|
||
|
|
||
|
notify_email="hello@world.tld"
|
||
|
|
||
|
# For github arm release
|
||
|
owner="YunoHost-Apps"
|
||
|
repo="synapse_python_build"
|
||
|
perstok="kkk"
|