postgresql: fix regenconf hook, the arg format thingy changed a bit at some point ?

This commit is contained in:
Alexandre Aubin 2023-02-18 16:33:50 +01:00
parent d123fd7674
commit 8a43b04614

View file

@ -47,20 +47,4 @@ do_post_regen() {
ynh_systemd_action --service_name=postgresql --action=reload
}
FORCE=${2:-0}
DRY_RUN=${3:-0}
case "$1" in
pre)
do_pre_regen $4
;;
post)
do_post_regen $4
;;
*)
echo "hook called with unknown argument \`$1'" >&2
exit 1
;;
esac
exit 0
do_$1_regen ${@:2}