Make get.sh more usable as a package builder

Add package.sh script as a wrapper for get.sh that sets necessary
envvars.
This commit is contained in:
fox.cpp 2019-11-19 17:25:15 +03:00
parent f569d7e941
commit 3a61903189
No known key found for this signature in database
GPG key ID: E76D97CCEDE90B6C
3 changed files with 56 additions and 15 deletions

3
dist/install.sh vendored
View file

@ -7,6 +7,9 @@ if [ -z "$FAIL2BANDIR" ]; then
FAIL2BANDIR=/etc/fail2ban
fi
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd $script_dir
install -Dm 0644 -t "$PREFIX/share/vim/vimfiles/ftdetect/" vim/ftdetect/maddy-conf.vim
install -Dm 0644 -t "$PREFIX/share/vim/vimfiles/ftplugin/" vim/ftplugin/maddy-conf.vim
install -Dm 0644 -t "$PREFIX/share/vim/vimfiles/syntax/" vim/syntax/maddy-conf.vim