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
26282aee
Commit
26282aee
authored
6 years ago
by
Valentin Bruch
Browse files
Options
Downloads
Patches
Plain Diff
linuxparty.sh: don't copy doku to /home/kubuntu; corrected typo
parent
e458fab4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/linuxparty.sh
+7
-5
7 additions, 5 deletions
scripts/linuxparty.sh
with
7 additions
and
5 deletions
scripts/linuxparty.sh
+
7
−
5
View file @
26282aee
...
@@ -25,6 +25,7 @@ MY_DIR="$( readlink -f "$( dirname "${BASH_SOURCE[0]}" )" )"
...
@@ -25,6 +25,7 @@ MY_DIR="$( readlink -f "$( dirname "${BASH_SOURCE[0]}" )" )"
HIVE_DIR
=
"
$MY_DIR
/../hive/"
#we assume here that the LIP install stick is mounted at /media/MultiBoot... better idea?
HIVE_DIR
=
"
$MY_DIR
/../hive/"
#we assume here that the LIP install stick is mounted at /media/MultiBoot... better idea?
#images already installed
#images already installed
# TODO: include libreoffice-common (for documentation)?
PREINSTALLED_PKGS
=
"thunderbird vlc x2goclient p7zip-full unrar-free kile vim htop git gparted"
PREINSTALLED_PKGS
=
"thunderbird vlc x2goclient p7zip-full unrar-free kile vim htop git gparted"
#Liste, in der alle Pakete verzeichnet werden, die vom Skript tatsächlich installiert werden; Pseudo-Pakete sind "all-capital"
#Liste, in der alle Pakete verzeichnet werden, die vom Skript tatsächlich installiert werden; Pseudo-Pakete sind "all-capital"
...
@@ -288,6 +289,8 @@ showerr() {
...
@@ -288,6 +289,8 @@ showerr() {
}
}
trap
showerr ERR
trap
showerr ERR
# TODO: --force-yes results in the following warning:
# W: --force-yes is deprecated, use one of the options starting with --allow instead.
apt-install
()
{
apt-install
()
{
apt-get
install
--quiet
-y
--force-yes
$@
apt-get
install
--quiet
-y
--force-yes
$@
INSTALLED_PKGS
=
"
$INSTALLED_PKGS
$@
"
INSTALLED_PKGS
=
"
$INSTALLED_PKGS
$@
"
...
@@ -397,14 +400,13 @@ create_doc()
...
@@ -397,14 +400,13 @@ create_doc()
fi
fi
popd
popd
#USER_HOME=$(getent passwd "${SUDO_USER:-$USER}" | cut -d ':' -f6)
#cp "${WORKING_DIR}/DOCUMENTATION.gen.pdf" "${USER_HOME}/Deine-LIP-Dokumentation.pdf"
# jetzt wird hoffentlich an alle relevanten Stellen kopiert
# jetzt wird hoffentlich an alle relevanten Stellen kopiert
for
i
in
/home/
*
/
;
do
ls
-1
/home |
grep
-v
'^kubuntu$'
|
while
read
line
cp
"
${
WORKING_DIR
}
/DOCUMENTATION.gen.pdf"
"
$i
""/Deine-LIP-Dokumentation.pdf"
do
cp
"
${
WORKING_DIR
}
/DOCUMENTATION.gen.pdf"
"/home/
$line
/Deine-LIP-Dokumentation.pdf"
done
done
RC
=
$?
RC
=
$?
pressenter
"Eine Dokumentation der von dir installierten Paktete wurde in deinem Benutzerverzeichnis als 'Deine-LIP-Dokumentation.pdf' ab
e
gelegt."
pressenter
"Eine Dokumentation der von dir installierten Paktete wurde in deinem Benutzerverzeichnis als 'Deine-LIP-Dokumentation.pdf' abgelegt."
return
$RC
return
$RC
}
}
...
...
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