Trying to upload all related projects
[easy-deb-chroot] / diablo / easy-chroot / control / postinst
1 #!/bin/sh
2
3 set -e
4
5 if  [ ! -e "/sbin/dmlosetup" ] ; then 
6    ln -s /sbin/dmsetup /sbin/dmlosetup
7 fi
8
9 if  [ ! -e "/sbin/ezchroot" ] ; then 
10    ln -s /sbin/qchroot /sbin/ezchroot
11 fi
12
13 # yet another kludge; detect an upgrade (forced OFF)
14 UPGRD='no'
15
16 # this takes a while; that's why it's at the end...
17 update-sudoers
18
19 if [ "x$UPGRD" = "x" ] ; then
20    maemo-select-menu-location cpu-perform.desktop tana_fi_settings
21    maemo-select-menu-location cpu-ondemand.desktop tana_fi_settings
22    maemo-select-menu-location windowhack.desktop tana_fi_settings
23 fi
24
25 exit 0