Commit 18fc3501 authored by Ted Trask's avatar Ted Trask

main/acf-provisioning: Fix haserl hashbang to include lua version

parent 582da15a
# Contributor: Ted Trask <ttrask01@yahoo.com>
# Maintainer: Ted Trask <ttrask01@yahoo.com>
_luaversion=5.2
pkgname=acf-provisioning
pkgver=0.6.1
pkgrel=0
pkgrel=1
pkgdesc="ACF for provisioning templated configs to devices"
url="http://git.alpinelinux.org/cgit/acf-provisioning"
arch="noarch"
......@@ -15,6 +16,11 @@ source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.xz"
package() {
cd "$srcdir"/$pkgname-$pkgver
# fix shebang
sed -i -e "1s:#!/usr/bin/haserl :#!/usr/bin/haserl-lua$_luaversion :" \
cgi-bin/provisioning.cgi || return 1
make DESTDIR="$pkgdir" install
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment