Magellan Linux

Diff of /mcore-src/trunk/mcore-tools/src/modules/idesk/idesk-generate-all-desktop-icons.in

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

revision 2367 by niro, Tue Aug 25 10:28:36 2015 UTC revision 2371 by niro, Wed Aug 26 11:08:26 2015 UTC
# Line 34  yres="$(( ${yres} - 80 ))" Line 34  yres="$(( ${yres} - 80 ))"
34  [ -f ${rc} ] && rm -f ${rc}  [ -f ${rc} ] && rm -f ${rc}
35  install -d ${dest}  install -d ${dest}
36    
37    # clean default reboot,shutdown icon info
38    for i in shutdown reboot
39    do
40     if [ -f ${MROOT}/${MCORE_CONFIG_PATH}/icons/info/${i}.${ICON_INFO_SUFFIX} ]
41     then
42     rm ${MROOT}/${MCORE_CONFIG_PATH}/icons/info/${i}.${ICON_INFO_SUFFIX}
43     fi
44    done
45    
46  # default settings  # default settings
47  declare -i x=50  declare -i x=50
48  declare -i y=50  declare -i y=50
# Line 103  do Line 112  do
112   y=$((${y} + 80))   y=$((${y} + 80))
113  done  done
114    
   
115  # restart idesk  # restart idesk
116  killall idesk; x11runas "nohup idesk > /dev/null &"  killall idesk; x11runas "nohup idesk > /dev/null &"

Legend:
Removed from v.2367  
changed lines
  Added in v.2371