parent
707998ad36
commit
a58cb21577
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
##############################################################################
|
###############################################################################
|
||||||
# generates a file.menu format for Enlightenment out of a GNOME menu heirachy#
|
# generates a file.menu format for Enlightenment out of a GNOME menu hierarchy#
|
||||||
#
|
#
|
||||||
# Copyright (C) 1999 Carsten Haitzler, Geoff Harrison and various contributors
|
# Copyright (C) 1999 Carsten Haitzler, Geoff Harrison and various contributors
|
||||||
#
|
#
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
# THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
# THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
# IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
##############################################################################
|
###############################################################################
|
||||||
|
|
||||||
# if we dont have enough arguments
|
# if we dont have enough arguments
|
||||||
if [ $# -lt 3 ]; then
|
if [ $# -lt 3 ]; then
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# generates a file.menu format for Enlightenment out of a KDE menu heirachy #
|
# generates a file.menu format for Enlightenment out of a KDE menu hierarchy #
|
||||||
#
|
#
|
||||||
# Copyright (C) 1999 Carsten Haitzler, Geoff Harrison and various contributors
|
# Copyright (C) 1999 Carsten Haitzler, Geoff Harrison and various contributors
|
||||||
#
|
#
|
||||||
|
@ -99,7 +99,7 @@ fi
|
||||||
if [ ! -d "$DIR" ]; then
|
if [ ! -d "$DIR" ]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
# if the destination dir doesnt exist - create it
|
# if the destination dir doesn't exist - create it
|
||||||
if [ ! -d "$ODIR" ]; then
|
if [ ! -d "$ODIR" ]; then
|
||||||
mkdir $ODIR
|
mkdir $ODIR
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# generates a file.menu format for Enlightenment out of menu heirachies #
|
# generates a file.menu format for Enlightenment out of menu hierarchies #
|
||||||
#
|
#
|
||||||
# Copyright (C) 1999 Carsten Haitzler, Geoff Harrison and various contributors
|
# Copyright (C) 1999 Carsten Haitzler, Geoff Harrison and various contributors
|
||||||
#
|
#
|
||||||
|
@ -60,7 +60,7 @@ if [ ! -f "$OUT" ]; then
|
||||||
fi
|
fi
|
||||||
touch $OUT
|
touch $OUT
|
||||||
|
|
||||||
# generate menu looking for Epplets - you mightn't have any te.. but expect to
|
# generate menu looking for Epplets - you might not have any yet.... but expect to
|
||||||
OUT=$OUT_DIR"/epplets.menu"
|
OUT=$OUT_DIR"/epplets.menu"
|
||||||
EPPLETS=`/bin/ls $EBIN"/"*.epplet 2> /dev/null | awk '{printf("%s ", $1);}'`
|
EPPLETS=`/bin/ls $EBIN"/"*.epplet 2> /dev/null | awk '{printf("%s ", $1);}'`
|
||||||
if [ -n "$EPPLETS" ]; then
|
if [ -n "$EPPLETS" ]; then
|
||||||
|
|
Loading…
Reference in New Issue