Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Johnny Cai
wine
Commits
533f0b5d
Commit
533f0b5d
authored
21 years ago
by
Francois Gouget
Committed by
Alexandre Julliard
21 years ago
Browse files
Options
Downloads
Patches
Plain Diff
'grep -q' is not portable -> don't use it.
parent
17afa80a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
documentation/PACKAGING
+1
-1
1 addition, 1 deletion
documentation/PACKAGING
tools/wineinstall
+1
-1
1 addition, 1 deletion
tools/wineinstall
with
2 additions
and
2 deletions
documentation/PACKAGING
+
1
−
1
View file @
533f0b5d
...
...
@@ -448,7 +448,7 @@ You will need to package the files:
The post-install script:
if ! grep
-q
/usr/X11R6/lib/wine /etc/ld.so.conf; then
if ! grep /usr/X11R6/lib/wine /etc/ld.so.conf
>/dev/null
; then
echo "/usr/X11R6/lib/wine" >> /etc/ld.so.conf
fi
/sbin/ldconfig
...
...
This diff is collapsed.
Click to expand it.
tools/wineinstall
+
1
−
1
View file @
533f0b5d
...
...
@@ -274,7 +274,7 @@ then {
# to our sucommand string
if
[
-f
/etc/ld.so.conf
]
then
if
!
grep
-
q
s
"
$libdir
"
/etc/ld.so.conf
if
!
grep
-s
"
$libdir
"
/etc/ld.so.conf
>
/dev/null 2>&1
then
{
echo
echo
"
$libdir
doesn't exist in your /etc/ld.so.conf, it will be added"
...
...
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