diff options
author | fluxgen <fluxgen> | 2002-11-17 17:36:50 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-11-17 17:36:50 (GMT) |
commit | 401f95cb2e91b2bbadb030939da5289134c3db74 (patch) | |
tree | a7b7f49885134c42625530bd2e6bfd5548c21ad0 /util/fluxbox-generate_menu | |
parent | 9a9e59a233844546f0d923989f65e416ff350ee0 (diff) | |
download | fluxbox-401f95cb2e91b2bbadb030939da5289134c3db74.zip fluxbox-401f95cb2e91b2bbadb030939da5289134c3db74.tar.bz2 |
update
Diffstat (limited to 'util/fluxbox-generate_menu')
-rwxr-xr-x | util/fluxbox-generate_menu | 10 |
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 | |||
178 | fi | 178 | fi |
179 | 179 | ||
180 | #packagedatadir | 180 | #packagedatadir |
181 | if [ ! -d "${PKGDATADIR}" ]; then | 181 | if [ ! -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 | |||
187 | fi | 187 | fi |
188 | 188 | ||
189 | #gnome packagedatadir | 189 | #gnome packagedatadir |
190 | if [ ! -d "${GPKGDATADIR}" ]; then | 190 | if [ ! -d "${GPKGDATADIR}" -o "${GPKGDATADIR}" = "" ]; then |
191 | GPKGDATADIR=${PKGDATADIR} | 191 | GPKGDATADIR=${PKGDATADIR} |
192 | fi | 192 | fi |
193 | 193 | ||
194 | #kde packagedatadir | 194 | #kde packagedatadir |
195 | if [ ! -d "${KPKGDATADIR}" ]; then | 195 | if [ ! -d "${KPKGDATADIR}" -o "${KPKGDATADIR}" = "" ]; then |
196 | KPKGDATADIR=${PKGDATADIR} | 196 | KPKGDATADIR=${PKGDATADIR} |
197 | fi | 197 | fi |
198 | 198 | ||