#!/bin/sh
#---------------------------------------------------------------------------
# /var/install/bin/pre-setup-services-postgresql10-modules-menu
#
# Creation: 2007-06-11 dv
# Last Update: 2021-02-13 08:55:56
#
# Copyright (c) 2007 the eisfair team, team(at)eisfair(dot)org
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#---------------------------------------------------------------------------
# create the module file for postgresql
# that was found in the menu-root from the system
menu_file=$(ls /var/install/menu/setup.services.postgresql10.modules.*.menu | \
awk -F. '{print($1"."$2"."$3"."$4"."$5"."$NF)}' | uniq)
{
echo ""
echo "