diff options
author | Mystery Man <unknown@mandriva.org> | 2003-03-14 01:10:03 +0000 |
---|---|---|
committer | Mystery Man <unknown@mandriva.org> | 2003-03-14 01:10:03 +0000 |
commit | 1274f3c1fa8862b0818a1cd4bb13330c54de6b6c (patch) | |
tree | bb577cf587810c5c7c051b3fb5a7e6557fccea7f /mdk-stage1/rp-pppoe/go-gui | |
parent | 2e5b26bf3dfb3dc8d61d2a615006706a4d2a2029 (diff) | |
download | drakx-1274f3c1fa8862b0818a1cd4bb13330c54de6b6c.tar drakx-1274f3c1fa8862b0818a1cd4bb13330c54de6b6c.tar.gz drakx-1274f3c1fa8862b0818a1cd4bb13330c54de6b6c.tar.bz2 drakx-1274f3c1fa8862b0818a1cd4bb13330c54de6b6c.tar.xz drakx-1274f3c1fa8862b0818a1cd4bb13330c54de6b6c.zip |
This commit was manufactured by cvs2svn to create tag 'V9_1_23mdk'.V9_1_23mdk
Diffstat (limited to 'mdk-stage1/rp-pppoe/go-gui')
-rwxr-xr-x | mdk-stage1/rp-pppoe/go-gui | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/mdk-stage1/rp-pppoe/go-gui b/mdk-stage1/rp-pppoe/go-gui deleted file mode 100755 index ddce984fd..000000000 --- a/mdk-stage1/rp-pppoe/go-gui +++ /dev/null @@ -1,92 +0,0 @@ -#!/bin/sh -#*********************************************************************** -# -# go-gui -# -# Quick-start shell script to set up ADSL and GUI wrapper -# -# Copyright (C) 2000 Roaring Penguin Software Inc. -# -# $Id$ -#*********************************************************************** - -# GUI only works on Linux -if test "`uname`" != "Linux" ; then - echo "Sorry, the GUI only works on Linux." - exit 1 -fi - -# Figure out directory of script -MYDIR=`dirname $0` -cd $MYDIR/src - -echo "Running ./configure..." -./configure -if [ "$?" != 0 ] ; then - echo "Oops! It looks like ./configure failed." - exit 1 -fi - -echo "Running make..." -make -if [ "$?" != 0 ] ; then - echo "Oops! It looks like make failed." - exit 1 -fi - -echo "Running make install..." -make install - -if [ "$?" != 0 ] ; then - echo "Oops! It looks like make install failed." - exit 1 -fi - -echo "Building GUI wrapper..." -cd ../gui -make -if [ "$?" != 0 ] ; then - echo "Oops! It looks like make failed." - exit 1 -fi - -echo "Installing GUI..." -make install - -if [ "$?" != 0 ] ; then - echo "Oops! It looks like make install failed." - exit 1 -fi - -# Install entry in KDE menu -if test -n "$KDEDIR" ; then - echo "Installing KDE menu entry Internet : TkPPPoE..." - mkdir -p "$KDEDIR/share/applnk/Internet" - cat <<EOF > "$KDEDIR/share/applnk/Internet/tkpppoe.kdelnk" -# KDE Config File -[KDE Desktop Entry] -Name=TkPPPoE -Comment=Start/Stop ADSL connections -Exec=tkpppoe -Terminal=0 -Type=Application -EOF -fi - -# Install entry in GNOME menus -GNOMEDIR=`gnome-config --datadir 2>/dev/null` -if test -n "$GNOMEDIR" ; then - echo "Installing GNOME menu entry Internet : TkPPPoE..." - mkdir -p "$GNOMEDIR/gnome/apps/Internet" -cat <<EOF > "$GNOMEDIR/gnome/apps/Internet/tkpppoe.desktop" -[Desktop Entry] -Name=TkPPPoE -Comment=Start/Stop ADSL connections -Exec=tkpppoe -Terminal=0 -Type=Application -EOF -fi -echo "Running GUI configuration tool..." -tkpppoe & -exit 0 |