summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/fluxbox-generate_menu10
1 files changed, 5 insertions, 5 deletions
diff --git a/util/fluxbox-generate_menu b/util/fluxbox-generate_menu
index 09a2071..80f0e5b 100755
--- a/util/fluxbox-generate_menu
+++ b/util/fluxbox-generate_menu
@@ -22,7 +22,7 @@
22# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23# DEALINGS IN THE SOFTWARE. 23# DEALINGS IN THE SOFTWARE.
24# 24#
25# $Id: fluxbox-generate_menu,v 1.11 2002/11/17 15:56:37 fluxgen Exp $ 25# $Id: fluxbox-generate_menu,v 1.12 2002/11/17 17:36:50 fluxgen Exp $
26 26
27[ `id -u` -eq 0 ] && PATH=/bin:/usr/bin/:/usr/local/bin:/usr/X11R6/bin 27[ `id -u` -eq 0 ] && PATH=/bin:/usr/bin/:/usr/local/bin:/usr/X11R6/bin
28 28
@@ -178,8 +178,8 @@ if [ -w ${FILENAME} ]; then
178fi 178fi
179 179
180#packagedatadir 180#packagedatadir
181if [ ! -d "${PKGDATADIR}" ]; then 181if [ ! -d "${PKGDATADIR}" -o "${PKGDATADIR}" = "" ]; then
182 if [ `uname` = "Linux" ];then 182 if [ `uname` = "Linux" ];then
183 PKGDATADIR=/usr/share 183 PKGDATADIR=/usr/share
184 else 184 else
185 PKGDATADIR=/usr/local/share 185 PKGDATADIR=/usr/local/share
@@ -187,12 +187,12 @@ if [ ! -d "${PKGDATADIR}" ]; then
187fi 187fi
188 188
189#gnome packagedatadir 189#gnome packagedatadir
190if [ ! -d "${GPKGDATADIR}" ]; then 190if [ ! -d "${GPKGDATADIR}" -o "${GPKGDATADIR}" = "" ]; then
191 GPKGDATADIR=${PKGDATADIR} 191 GPKGDATADIR=${PKGDATADIR}
192fi 192fi
193 193
194#kde packagedatadir 194#kde packagedatadir
195if [ ! -d "${KPKGDATADIR}" ]; then 195if [ ! -d "${KPKGDATADIR}" -o "${KPKGDATADIR}" = "" ]; then
196 KPKGDATADIR=${PKGDATADIR} 196 KPKGDATADIR=${PKGDATADIR}
197fi 197fi
198 198