Skip to content
Snippets Groups Projects
Commit a268365e authored by Gustav Geier's avatar Gustav Geier
Browse files

Fixed typo and added portability across Ubuntu versions

parent 1e41272b
No related branches found
No related tags found
Loading
...@@ -34,7 +34,7 @@ COMMON_PKGS=(\ ...@@ -34,7 +34,7 @@ COMMON_PKGS=(\
"TRUE" "git" "Versionsverwaltungstool (dezentral)" \ "TRUE" "git" "Versionsverwaltungstool (dezentral)" \
"TRUE" "graphviz" "Tool zum visualisieren von Graphen" \ "TRUE" "graphviz" "Tool zum visualisieren von Graphen" \
"TRUE" "liblapacke-dev" "LAPACK ist eine Standard-Numerik-Bibliothek für Physiker und Numeriker" \ "TRUE" "liblapacke-dev" "LAPACK ist eine Standard-Numerik-Bibliothek für Physiker und Numeriker" \
"TRUE" "liplapack-doc" "LAPACK Dokumentation (s. oben)" \ "TRUE" "liblapack-doc" "LAPACK Dokumentation (s. oben)" \
"FALSE" "gnome" "GNOME3 Desktop Umgebung" \ "FALSE" "gnome" "GNOME3 Desktop Umgebung" \
"FALSE" "xubuntu-desktop" "Xubuntu Desktop Umgebung und standard Programme" \ "FALSE" "xubuntu-desktop" "Xubuntu Desktop Umgebung und standard Programme" \
"FALSE" "fityk" "Tool zum Daten-Fitting und Analyse" \ "FALSE" "fityk" "Tool zum Daten-Fitting und Analyse" \
...@@ -231,7 +231,6 @@ case "$GUI" in ...@@ -231,7 +231,6 @@ case "$GUI" in
} }
install_pkgs() { install_pkgs() {
local pkglist=$3[@] local pkglist=$3[@]
declare -a kdlist declare -a kdlist
...@@ -269,8 +268,9 @@ case "$GUI" in ...@@ -269,8 +268,9 @@ case "$GUI" in
INSTALL=$(kdialog --geometry 786x400 --title "$1" --checklist "$2" "${kdlist[@]}" 2> /dev/null || true) INSTALL=$(kdialog --geometry 786x400 --title "$1" --checklist "$2" "${kdlist[@]}" 2> /dev/null || true)
if [ -n "$INSTALL" ]; then if [ -n "$INSTALL" ]; then
INSTALLED_PKGS="$INSTALLED_PKGS $4" #register pseudo package INSTALLED_PKGS="$INSTALLED_PKGS $4" #register pseudo package
apt-install $INSTALL apt-install $(echo $INSTALL | tr -d \")
ok "$INSTALL installiert" ok "$INSTALL installiert"
else else
ok "Keine Packete installiert" ok "Keine Packete installiert"
...@@ -361,8 +361,6 @@ install_anaconda() { ...@@ -361,8 +361,6 @@ install_anaconda() {
popd popd
INSTALLED_PKGS="$INSTALLED_PKGS anaconda" INSTALLED_PKGS="$INSTALLED_PKGS anaconda"
ok "Anaconda wurde anscheinend erfolgreich installiert!" ok "Anaconda wurde anscheinend erfolgreich installiert!"
fi fi
} }
......
...@@ -3,11 +3,14 @@ ...@@ -3,11 +3,14 @@
ACTION="$1" ACTION="$1"
FILENAME="/etc/apt/sources.list.d/lipoffline.list" FILENAME="/etc/apt/sources.list.d/lipoffline.list"
ACTIVATED=`test -e "$FILENAME"` ACTIVATED=`test -e "$FILENAME"`
DIST_CODENAME="saucy"
DIST_VERSION="13.10"
function install_repo() function install_repo()
{ {
echo "# offline repository of the linux install party echo "# offline repository of the linux install party
deb [ trusted=yes ] file://$1/archives precise lip" > "$FILENAME" deb [ trusted=yes ] file://$1/archives $DIST_CODENAME lip" > "$FILENAME"
} }
function uninstall_repo() function uninstall_repo()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment