Commit 01b9fc63 authored by Moritz Holtz's avatar Moritz Holtz

Merge branch 'ss15' of fsmpi.rwth-aachen.de:lipstick into ss15

parents ba384adb 187321d1
#!/bin/bash
MY_DIR="$( readlink -f "$( dirname "${BASH_SOURCE[0]}" )" )"
HAVELIPSTICK=0
#Offline-Repo einbinden
if bash "$MY_DIR/infuse_offline_repo.sh"
then
HAVELIPSTICK=1
echo "USB-Repository gefunden und eingebunden"
else
if [[ $? -eq 2 ]]
then
# Exit code 2 is handed up from mount-stick-repo.sh -> "Installation abbrechen"
echo "Installation abgebrochen"
exit 2
else
#warn "LIP-Install-USB-Stick nicht nutzbar."
#warn "Stelle eine Internetverbindung her und mache weiter (langsames Installieren)"
#warn "Wenn Du nicht weiter weißt, frage einen Helfer."
#pressenter
echo "LIP-Install-USB-Stick nicht nutzbar."
fi
fi
apt-get install $@
echo "Deaktiviere LIP Software Repository"
bash $MY_DIR/liprepoctl.sh off
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment