Add shebang to package post-install script

Fixes issue #3430
pull/4147/head
Philip O'Toole 2015-09-16 22:45:16 -07:00
parent f73bc6ff19
commit 82ec6e5e17
1 changed files with 1 additions and 0 deletions

View File

@ -238,6 +238,7 @@ do_build() {
generate_postinstall_script() {
version=$1
cat <<EOF >$POST_INSTALL_PATH
#!/bin/sh
rm -f $INSTALL_ROOT_DIR/influxd
rm -f $INSTALL_ROOT_DIR/influx
rm -f $INSTALL_ROOT_DIR/init.sh