From 521423497cf494485478efdf5774b072187b2c68 Mon Sep 17 00:00:00 2001 From: Diego Giovane Pasqualin <dpasqualin@gmail.com> Date: Fri, 27 May 2011 10:59:13 -0300 Subject: [PATCH] There is no need to reboot the system after license package installation Signed-off-by: Diego Giovane Pasqualin <dpasqualin@gmail.com> --- pacote/etc/init.d/le-multiterminal-installer | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pacote/etc/init.d/le-multiterminal-installer b/pacote/etc/init.d/le-multiterminal-installer index 4b9df42c1..1632753df 100755 --- a/pacote/etc/init.d/le-multiterminal-installer +++ b/pacote/etc/init.d/le-multiterminal-installer @@ -20,6 +20,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, # USA. +export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ROOTDIR="/etc/le-multiterminal-installer" # Check if it's running on the live CD by checking the installation of ubiquity @@ -33,6 +34,9 @@ if ! dpkg -l ubiquity-le* 2>/dev/null | grep -q '^ii'; then # Install le-multiterminal dpkg -i $ROOTDIR/le-multiterminal_*.deb + # Install license + dpkg -i $ROOTDIR/le-proinfo-lic-installer_*.deb + # Will I reboot or le-proinfodata-installer will do it for me? if ! dpkg -l le-proinfodata-installer 2> /dev/null | grep -q '^ii'; then reboot @@ -41,12 +45,6 @@ if ! dpkg -l ubiquity-le* 2>/dev/null | grep -q '^ii'; then if dpkg -l le-proinfodata 2> /dev/null | grep -q '^ii'; then reboot fi - - # Is the package le-proinfo-lic-installer installed? - elif ! dpkg -l le-proinfo-lic-installer 2> /dev/null | - grep -q '^ii'; then - dpkg -i $ROOTDIR/le-proinfo-lic-installer_*.deb - reboot fi fi -- GitLab