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:
parent
298866de63
commit
545d66dbe2
2 changed files with 1 additions and 3 deletions
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue