#!/bin/sh #---------------------------------------------------------------------------- # /var/install/bin/post-setup-packages-install-from-url-menu # # - setup.packages.menu -> Install package from URL : setup.packages.install.from.url.menu # # Creation: 2016-08-19 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. #---------------------------------------------------------------------------- # clean up temp_search_file=/etc/eisman/temp_url.conf if [ -f "${temp_search_file}" ] then while read prio turl do url="$(echo "${turl}" | sed 's|/|\\/|g')" sed -i "/${url}/d" ${temp_search_file} eisman flushurl "$(dirname ${turl})" done <${temp_search_file} fi rm -f ${temp_search_file} rm -f /tmp/install-url.txt exit 0 # --------------------------------------------------------------------------- # end # ---------------------------------------------------------------------------