Mageia Bugzilla – Attachment 4670 Details for
Bug 12131
about-mageia looks for non-existent directory and thus cripple.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Modified about-mageia script to open mageia.org/about
about-mageia (text/plain), 429 bytes, created by
Atilla ÖNTAŞ
on 2013-12-28 02:57:46 CET
(
hide
)
Description:
Modified about-mageia script to open mageia.org/about
Filename:
MIME Type:
Creator:
Atilla ÖNTAŞ
Created:
2013-12-28 02:57:46 CET
Size:
429 bytes
patch
obsolete
>#!/bin/sh >WGET="$(which wget)" > >$WGET -q --tries=20 --timeout=10 http://www.google.com -O /tmp/google.idx &> /dev/null >if [ ! -s /tmp/google.idx ] >then > echo "No internet connection detected. >In order to display About Mageia page you should have an workin connection." > exit 1 >else > for lang in `echo $LANG:$LANGUAGE | tr ':' ' ' | cut -d'_' -f1` ; do > xdg-open "http://www.mageia.org/$lang/about" > exit 0 > done >fi
#!/bin/sh WGET="$(which wget)" $WGET -q --tries=20 --timeout=10 http://www.google.com -O /tmp/google.idx &> /dev/null if [ ! -s /tmp/google.idx ] then echo "No internet connection detected. In order to display About Mageia page you should have an workin connection." exit 1 else for lang in `echo $LANG:$LANGUAGE | tr ':' ' ' | cut -d'_' -f1` ; do xdg-open "http://www.mageia.org/$lang/about" exit 0 done fi
View Attachment As Raw
Actions:
View
Attachments on
bug 12131
: 4670