Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
L
lipstick
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
osak
lipstick
Commits
0636eb2e
Commit
0636eb2e
authored
Mar 30, 2014
by
Gustav Geier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added wrapper script to fix the Qt-version mismatch error for anaconda applications
parent
b32761e9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
7 deletions
+26
-7
hive/anaconda/anaconda_wrapper.sh
hive/anaconda/anaconda_wrapper.sh
+4
-0
hive/anaconda/envpatch.patch
hive/anaconda/envpatch.patch
+1
-1
hive/anaconda/qt.conf
hive/anaconda/qt.conf
+2
-0
scripts/linuxparty.sh
scripts/linuxparty.sh
+19
-6
No files found.
hive/anaconda/anaconda_wrapper.sh
0 → 100644
View file @
0636eb2e
#!/bin/bash
unset
QT_PLUGIN_PATH
exec
/opt/anaconda/bin/
$(
basename
$0
)
$@
hive/anaconda/envpatch.patch
View file @
0636eb2e
...
...
@@ -2,5 +2,5 @@
+++ b/etc/environment 2014-03-16 19:50:45.768643532 +0000
@@ -1,2 +1,2 @@
-PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
+PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/anaconda/bin"
+PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/anaconda/
lip
bin"
RUNNING_UNDER_GDM="yes"
hive/anaconda/qt.conf
0 → 100644
View file @
0636eb2e
[
Paths
]
Plugins
=
'.'
scripts/linuxparty.sh
View file @
0636eb2e
...
...
@@ -323,6 +323,7 @@ install_anaconda() {
then
err
"Hive konnte nicht gefunden werden ( kein LIP-Stick? ). Ohne Hive kann Anaconda leider nicht installiert werden!"
else
ANACONDA_DIR
=
/opt/anaconda
ARCH
=
"
$(
uname
-m
)
"
INSTALLER
=
"
$HIVE_DIR
"
/anaconda/Installer-
if
[
"
$ARCH
"
==
"x86_64"
]
;
then
...
...
@@ -333,10 +334,10 @@ install_anaconda() {
INSTALLER
=
"
${
INSTALLER
}
.sh"
echo
"Benutze Anaconda-Installer:
$INSTALLER
."
if
[
-d
"
/opt/anaconda/
"
]
;
then
if
[
-d
"
$ANACONDA_DIR
"
]
;
then
if
askyesno
"Anaconda ist anscheinend schon installiert. Neuinstallieren?"
;
then
echo
"Entferne alte Installation..."
rm
-R
/opt/anaconda/
rm
-R
"
$ANACONDA_DIR
"
echo
"ok"
else
echo
"Installation von Anaconda wird abgebrochen..."
...
...
@@ -349,16 +350,26 @@ install_anaconda() {
return
0
fi
$INSTALLER
-b
-p
/opt/anaconda/
$INSTALLER
-b
-p
"
$ANACONDA_DIR
"
if
[
$?
-ne
0
]
;
then
err
"Der Anaconda-Installer hat versagt... ."
return
1
fi
echo
"Installiere Qt-Version-Fix-Wrapper"
mkdir
-p
"
$ANACONDA_DIR
"
/lipbin
cp
"
$HIVE_DIR
"
/anaconda/anaconda_wrapper.sh
"
$ANACONDA_DIR
"
/lipbin
cp
"
$HIVE_DIR
"
/anaconda/qt.conf
"
$ANACONDA_DIR
"
/bin
pushd
"
$ANACONDA_DIR
"
/bin
>
/dev/null
find
-type
f
-executable
-exec
ln
-s
$ANACONDA_DIR
/lipbin/anaconda_wrapper.sh
$ANACONDA_DIR
/lipbin/
{}
\;
popd
>
/dev/null
echo
"Registriere Anaconda in
\$
PATH"
pushd
/
pushd
/
>
/dev/null
patch
-p1
<
"
$HIVE_DIR
/anaconda/envpatch.patch"
popd
popd
>
/dev/null
INSTALLED_PKGS
=
"
$INSTALLED_PKGS
anaconda"
ok
"Anaconda wurde anscheinend erfolgreich installiert!"
fi
...
...
@@ -396,8 +407,10 @@ create_doc()
fi
cp
"
${
WORKING_DIR
}
/
$(
basename
-s
.tex
${
DOCFILE
}
)
.pdf"
"
$HOME
/Deine-LIP-Dokumentation.pdf"
RC
=
$?
pressenter
"Dokummentation der von dir installierten Paktete wurde in deinem Benutzerverzeichnis (
$HOME
) als 'Deine-LIP-Dokumentation.pdf' abegelegt."
return
$
?
return
$
RC
}
echo
"Entferne Ubuntu Installer (bleibt manchmal über...)"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment