Skip to content
Snippets Groups Projects
Commit 52142349 authored by Diego Giovane Pasqualin's avatar Diego Giovane Pasqualin Committed by Klismann Smoger Mottin
Browse files

There is no need to reboot the system after license package installation

parent 0d5ddb05
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment