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
c46e6f0e
Commit
c46e6f0e
authored
6 years ago
by
Julian Rother
Browse files
Options
Downloads
Patches
Plain Diff
linuxparty: Removed package name from package selection dialog
parent
491e4d84
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
+5
-5
5 additions, 5 deletions
scripts/linuxparty.sh
with
5 additions
and
5 deletions
scripts/linuxparty.sh
+
5
−
5
View file @
c46e6f0e
...
@@ -175,19 +175,19 @@ case "$GUI" in
...
@@ -175,19 +175,19 @@ case "$GUI" in
;;
;;
zenity
)
zenity
)
askyesno
()
{
askyesno
()
{
zenity
--question
--text
"
$@
"
2> /dev/null
zenity
--width
300
--question
--text
"
$@
"
2> /dev/null
}
}
err
()
{
err
()
{
zenity
--error
--text
"
$@
"
2> /dev/null
zenity
--width
300
--error
--text
"
$@
"
2> /dev/null
}
}
pressenter
()
{
pressenter
()
{
zenity
--info
--text
"
$@
"
2> /dev/null
zenity
--width
300
--info
--text
"
$@
"
2> /dev/null
}
}
install_pkgs
()
{
install_pkgs
()
{
local
pkglist
=
$3
[
@]
local
pkglist
=
$3
[
@]
INSTALL
=
$(
zenity
--list
--title
"
$1
"
--text
"
$2
"
--checklist
--separator
=
" "
--width
=
786
--height
=
400
--column
"Installieren?"
--column
"Paket"
--column
"Beschreibung"
"
${
!pkglist
}
"
2> /dev/null
||
true
)
INSTALL
=
$(
zenity
--list
--hide-column
=
2
--title
"
$1
"
--text
"
$2
"
--checklist
--separator
=
" "
--width
=
786
--height
=
400
--column
"Installieren?"
--column
"Paket"
--column
"Beschreibung"
"
${
!pkglist
}
"
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
...
@@ -248,7 +248,7 @@ case "$GUI" in
...
@@ -248,7 +248,7 @@ case "$GUI" in
text
=
"
$e
"
text
=
"
$e
"
kdlist[
$i
]=
"
$tag
"
kdlist[
$i
]=
"
$tag
"
i
=
$((
i+1
))
i
=
$((
i+1
))
kdlist[
$i
]=
"
$tag
:
$text
"
kdlist[
$i
]=
"
$text
"
i
=
$((
i+1
))
i
=
$((
i+1
))
kdlist[
$i
]=
"
$use
"
kdlist[
$i
]=
"
$use
"
i
=
$((
i+1
))
i
=
$((
i+1
))
...
...
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