aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xutil/fluxbox-generate_menu.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in
index ae9f34a..5c0fe8c 100755
--- a/util/fluxbox-generate_menu.in
+++ b/util/fluxbox-generate_menu.in
@@ -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.in,v 1.29 2004/09/09 15:25:26 rathnor Exp $ 25# $Id: fluxbox-generate_menu.in,v 1.30 2004/09/11 23:59:13 fluxgen Exp $
26 26
27# 27#
28# Portability notes: 28# Portability notes:
@@ -924,7 +924,9 @@ if [ -w "${MENUFILENAME}" ]; then
924 if [ -f ${MENUFILENAME}.firstbak ]; then 924 if [ -f ${MENUFILENAME}.firstbak ]; then
925 cp ${MENUFILENAME} ${MENUFILENAME}.firstbak 925 cp ${MENUFILENAME} ${MENUFILENAME}.firstbak
926 fi 926 fi
927 mv ${MENUFILENAME} ${MENUFILENAME}.bak 927 if [ -s "${MENUFILE}" ]; then
928 mv ${MENUFILE} ${MENUFILE}.bak
929 fi
928fi 930fi
929 931
930# prefix 932# prefix