#! /bin/sh #----------------------------------------------------------------------------- # eis/tmp/install.sh - zip installation # # Creation : 2009-09-29 schlotze # Last update: $Id$ # # Copyright (c) 2009 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. #----------------------------------------------------------------------------- # set packages name packages_name=zip #---------------------------------------------------------------------------- # running ldconfig #---------------------------------------------------------------------------- /sbin/ldconfig >/dev/null 2>&1 # check for MC configuration and adjust it if [ -f /usr/share/mc/extfs/uzip ] then sed -i 's#my $app_zip = "/usr/local/bin/zip";#my $app_zip = "/usr/bin/zip";#; s#my $op_has_zipinfo = 0;# my $op_has_zipinfo = 1;#' /usr/share/mc/extfs/uzip fi exit 0 #---------------------------------------------------------------------------- # end #----------------------------------------------------------------------------