lib/omnibus/generator_files/package_scripts/prerm.erb in omnibus-5.0.0 vs lib/omnibus/generator_files/package_scripts/prerm.erb in omnibus-5.1.0

- old
+ new

@@ -1,13 +1,13 @@ -#!/bin/bash +#!/bin/sh # # Perform necessary <%= config[:name] %> setup steps # prior to installing package. # -PROGNAME=$(basename $0) +PROGNAME=`basename $0` -function error_exit +error_exit() { echo "${PROGNAME}: ${1:-"Unknown Error"}" 1>&2 exit 1 }