aboutsummaryrefslogtreecommitdiff
path: root/desktop/ion/doinst.sh
blob: 8c8e2f2b22dd93706b93132aef18580b958ce9d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
config() {
  NEW="$1"
  OLD="$(dirname $NEW)/$(basename $NEW .new)"
  # If there's no config file by that name, mv it over:
  if [ ! -r $OLD ]; then
    mv $NEW $OLD
  elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
    # toss the redundant copy
    rm $NEW
  fi
  # Otherwise, we leave the .new copy for the admin to consider...
}

config etc/ion3/look_ios.lua.new
config etc/ion3/look_cleanios.lua.new
config etc/ion3/cfg_kludges.lua.new
config etc/ion3/look_greenlight.lua.new
config etc/ion3/cfg_pwm.lua.new
config etc/ion3/look_brownsteel.lua.new
config etc/ion3/cfg_layouts.lua.new
config etc/ion3/lookcommon_emboss.lua.new
config etc/ion3/cfg_ion.lua.new
config etc/ion3/lookcommon_clean.lua.new
config etc/ion3/cfg_menu.lua.new
config etc/ion3/look_newviolet.lua.new
config etc/ion3/cfg_defaults.lua.new
config etc/ion3/cfg_tiling.lua.new
config etc/ion3/look_cleanviolet.lua.new
config etc/ion3/cfg_statusbar.lua.new
config etc/ion3/look_simpleblue.lua.new
config etc/ion3/look_dusky.lua.new
config etc/ion3/look_clean.lua.new
config etc/ion3/cfg_ioncore.lua.new
config etc/ion3/look_greyviolet.lua.new
config etc/ion3/cfg_dock.lua.new
config etc/ion3/cfg_sp.lua.new
config etc/ion3/cfg_query.lua.new