#! /bin/sh #--------------------------------------------------------------------------- # /var/install/bin/pre-setup-doc-docu-menu # # Creation: 2007-04-04 dv # Last Update: $Id$ # # Copyright (c) 2001-@@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. #--------------------------------------------------------------------------- # create a documentation menu with all documentation files # that was found in the doc-root from the system folders=$(ls /usr/share/doc) if file --help | grep -q 'mime-encoding' then _opt1='--mime-encoding' _opt2='' else _opt1='--mime' _opt2='| cut -d= -f2' fi { echo "