summaryrefslogtreecommitdiff
path: root/auto/port-alpine.sh
diff options
context:
space:
mode:
Diffstat (limited to 'auto/port-alpine.sh')
-rwxr-xr-xauto/port-alpine.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/auto/port-alpine.sh b/auto/port-alpine.sh
index e1cda3e..42c1b42 100755
--- a/auto/port-alpine.sh
+++ b/auto/port-alpine.sh
@@ -15,9 +15,7 @@ additional=$(ls $pkgbuild | grep -v ^APKBUILD$)
. $apkbuild
-[ ! -z "$2" ] && name=${2}
-
-name=$(echo $pkgname | sed 's/py3-/python-/' )
+[ ! -z "$2" ] && name=${2} || name=$(echo $pkgname | sed 's/py3-/python-/' )
version=$pkgver