Skip to content

Commit

Permalink
fix: Architecture detect implementation
Browse files Browse the repository at this point in the history
Fixes #53
  • Loading branch information
seebeen committed Jul 9, 2024
1 parent 7609783 commit 330bb34
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions install.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: ddev-ioncube

project_files:
- web-build/ioncube/download-loaders
- web-build/ioncube/modify-dockerfile
- web-build/ioncube/download-loaders.sh
- web-build/ioncube/modify-dockerfile.sh

post_install_actions:
- |
#ddev-description: Download IonCube Loaders
#
./web-build/ioncube/download-loaders
./web-build/ioncube/download-loaders.sh
- |
#ddev-description: Modify Dockerfile
./web-build/ioncube/modify-dockerfile
./web-build/ioncube/modify-dockerfile.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
#!/bin/bash
#ddev-generated
set -e
ARCH=$(/usr/bin/arch)

if [ "$ARCH" = "arm64" ]; then
ARCH="$(/usr/bin/arch)"

if [ "$ARCH" = "aarch64" ]; then
ARCH="aarch64"
elif [ "$ARCH" = "x86_64" ]; then
ARCH="x86-64"
Expand Down
File renamed without changes.

0 comments on commit 330bb34

Please sign in to comment.