Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lipstick
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
osak
lipstick
Commits
a268365e
Commit
a268365e
authored
11 years ago
by
Gustav Geier
Browse files
Options
Downloads
Patches
Plain Diff
Fixed typo and added portability across Ubuntu versions
parent
1e41272b
No related branches found
No related tags found
Loading
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/linuxparty.sh
+7
-9
7 additions, 9 deletions
scripts/linuxparty.sh
scripts/liprepoctl.sh
+4
-1
4 additions, 1 deletion
scripts/liprepoctl.sh
with
11 additions
and
10 deletions
scripts/linuxparty.sh
+
7
−
9
View file @
a268365e
...
@@ -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"
"li
p
lapack-doc"
"LAPACK Dokumentation (s. oben)"
\
"TRUE"
"li
b
lapack-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
}
}
...
...
This diff is collapsed.
Click to expand it.
scripts/liprepoctl.sh
+
4
−
1
View file @
a268365e
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment