1
0
mirror of https://github.com/gryf/wicd.git synced 2026-01-03 12:24:14 +01:00

Merged in (only) r261 of rworkman's branch, which quotes the strings in the wicd-client script.

Also, the revision numbers of the mainline have changed on me.  r263 contained all of the translations that I requested.
This commit is contained in:
Andrew Psaltis
2009-01-29 15:55:32 -05:00
parent badcd6d9bf
commit b5f6fcc702

View File

@@ -3,15 +3,15 @@ BOLD=$(tput bold)
BLUE=$(tput setaf 4) BLUE=$(tput setaf 4)
NC=$(tput sgr0) NC=$(tput sgr0)
# check_firstrun() # check_firstrun()
if [ ! -d ~/.wicd ]; then if [ ! -d "~/.wicd" ]; then
mkdir -p ~/.wicd mkdir -p "~/.wicd"
fi fi
# Make sure the user knows WHEREAREMYFILES ;-) # Make sure the user knows WHEREAREMYFILES ;-)
if [ -e %DOCDIR%WHEREAREMYFILES ] && [ ! -L ~/.wicd/WHEREAREMYFILES ]; then if [ -e "%DOCDIR%WHEREAREMYFILES" ] && [ ! -L "~/.wicd/WHEREAREMYFILES" ]; then
ln -s %DOCDIR%WHEREAREMYFILES ~/.wicd/WHEREAREMYFILES ln -s "%DOCDIR%WHEREAREMYFILES" "~/.wicd/WHEREAREMYFILES"
fi fi
if [ "$DISPLAY" = "" ] && [ -x "%BIN%wicd-curses" ]; then if [ "$DISPLAY" = "" ] && [ -x "%BIN%wicd-curses" ]; then
if [ ! -f ~/.wicd/CLIENT_CURSES_WARNING ]; then if [ ! -f "~/.wicd/CLIENT_CURSES_WARNING" ]; then
printf "NOTICE: You do not have an X server active on this console, \n" printf "NOTICE: You do not have an X server active on this console, \n"
printf "so ${BOLD}${BLUE}wicd-curses${NC} will be started instead. \n" printf "so ${BOLD}${BLUE}wicd-curses${NC} will be started instead. \n"
printf "Please see the wicd-client and/or wicd-curses manual pages \n" printf "Please see the wicd-client and/or wicd-curses manual pages \n"
@@ -21,7 +21,7 @@ if [ "$DISPLAY" = "" ] && [ -x "%BIN%wicd-curses" ]; then
printf "Press enter to continue... \n" printf "Press enter to continue... \n"
read _junk read _junk
cat >> ~/.wicd/CLIENT_CURSES_WARNING << EOF cat >> "~/.wicd/CLIENT_CURSES_WARNING" << EOF
The wicd-client script checks for the existence of this file to determine The wicd-client script checks for the existence of this file to determine
whether it should warn the user before launching wicd-curses instead, in whether it should warn the user before launching wicd-curses instead, in
the event of the gui client being launched outside of the X Window environment. the event of the gui client being launched outside of the X Window environment.