mirror of
https://github.com/foxcpp/maddy.git
synced 2025-04-04 05:37:34 +03:00
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:
parent
f569d7e941
commit
3a61903189
3 changed files with 56 additions and 15 deletions
3
dist/install.sh
vendored
3
dist/install.sh
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue