Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/mcore-client-deactivated.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2795 by niro, Fri Dec 18 14:40:01 2015 UTC revision 2796 by niro, Mon Jun 20 11:33:18 2016 UTC
# Line 24  do Line 24  do
24  "  "
25  done  done
26    
27    # if .fluxbox/menu-activated does not exist at this point, then this is the
28    # first boot and fluxbox-rebuild-menu was never run on this system before.
29    # so copy a sane default config file
30    if [ ! -f ~/.fluxbox/menu-activated ] && [ -f @@DATADIR@@/fluxbox/menu ]
31    then
32     [ -d ~/.fluxbox ] || mkdir ~/.fluxbox
33     cp @@DATADIR@@/fluxbox/menu ~/.fluxbox/menu-activated
34    fi
35    
36  # activate the fluxbox menu now  # activate the fluxbox menu now
37  cat ~/.fluxbox/menu-activated > ~/.fluxbox/menu  cat ~/.fluxbox/menu-activated > ~/.fluxbox/menu

Legend:
Removed from v.2795  
changed lines
  Added in v.2796