1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

pbx/files/install_prereq.diff: X86_64 -> x86_64 ; clean asterisk.yml

This commit is contained in:
root 2023-04-03 00:25:48 -04:00
parent 298866de63
commit 545d66dbe2
2 changed files with 1 additions and 3 deletions

View file

@ -7,7 +7,7 @@
+ arch=$(uname -m)
if [ ${#pkgs} -ne 0 ]; then
- echo $pkgs | sed -r -e "s/ ?[^ :]+:i386//g"
+ if [ "$arch" = "X86_64" ]; then
+ if [ "$arch" = "x86_64" ]; then
+ echo $pkgs | sed -r -e "s/ ?[^ :]+:i386//g"
+ elif [ "$arch" = "aarch64" ]; then
+ echo $pkgs | sed -r -e "s/ ?[^ :]+:armhf//g"

View file

@ -40,8 +40,6 @@
unarchive:
src: "{{ downloads_dir }}/{{ asterisk_src_file }}"
dest: "{{ asterisk_src_dir }}"
# owner: root
# group: root
extra_opts: [--strip-components=1]
creates: "{{ asterisk_src_dir }}/Makefile"