#!/bin/sh #---------------------------------------------------------------------------- # /var/install/bin/pre-setup-packages-section-available-menu # # Creation: 2016-05-30 hbfl # Last Update: $Id$ # # Copyright (c) 2016-@@YEAR@@ 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. #---------------------------------------------------------------------------- # include eislib . /var/install/include/eislib # --------------------------------------------------------------------------- # check_section # # check if the section is valid an writes the result to $section_invalid # --------------------------------------------------------------------------- check_section() { _section_invalid='true' if echo "${VALID_SECTIONS}" | grep -q "^${_sec}$" then _section_invalid='false' fi } menu_file="${4}" # create a packages-section menu with all section entries # that was found in the packages.db from the system { echo "