mirror of
https://github.com/ivabus/pantry
synced 2024-11-12 19:45:19 +03:00
add bk
to brewkit if not there
This commit is contained in:
parent
17bd5250be
commit
3ab8622887
|
@ -20,6 +20,21 @@ build: |
|
||||||
test -e $x && mv $x "{{prefix}}"
|
test -e $x && mv $x "{{prefix}}"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
cd "{{prefix}}/bin"
|
||||||
|
if ! test -e bk; then
|
||||||
|
cat >>bk <<EOF
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
echo "bk is provided by brewkit >=0.25.0"
|
||||||
|
echo "please update to use this shortcut"
|
||||||
|
exit 1
|
||||||
|
EOF
|
||||||
|
chmod +x bk
|
||||||
|
fi
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/bk
|
||||||
|
|
||||||
test:
|
test:
|
||||||
dependencies:
|
dependencies:
|
||||||
zlib.net: '*'
|
zlib.net: '*'
|
||||||
|
|
Loading…
Reference in a new issue