summaryrefslogtreecommitdiff
path: root/auto
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
committerdavidovski <david@davidovski.xyz>2022-07-15 00:52:21 +0100
commit9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (patch)
tree278bbf05c72536a30e701eebbd3546ba137543e7 /auto
parentf6332a43c35387c4a2dea1746be5fd092890ae0e (diff)
added python deps for libvirt
Diffstat (limited to 'auto')
-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