Changeset 6663 for ipk/source/emus_mbox0.6_0010/CONTROL/postinst
- Timestamp:
- Mar 26, 2011, 1:01:18 AM (15 years ago)
- File:
-
- 1 edited
-
ipk/source/emus_mbox0.6_0010/CONTROL/postinst (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ipk/source/emus_mbox0.6_0010/CONTROL/postinst
r4651 r6663 1 1 #!/bin/sh 2 TMP=/tmp/.mbox 3 PLUGINDIR=/var/emu 2 TMP=/tmp/.keys 3 PLUGINDIR=/var/keys 4 PLUGINDIR=/var/bin 4 5 CONFIGDIR=/var/etc 5 if [ ! -e /var/keys/cwshare.cfg ]; then6 echo "renaming cwshare.cfg.mbox -> cwshare.cfg"7 mv /var/keys/cwshare.cfg.mbox /var/keys/cwshare.cfg8 fi9 if [ ! -e /var/keys/mbox.cfg ]; then10 echo "rename mbox.cfg.mbox -> mbox.cfg"11 mv /var/keys/mbox.cfg.mbox /var/keys/mbox.cfg12 fi13 6 echo "successfully installed" 14 7 echo "syncing disk" … … 19 12 echo new freespace size $FREE kb 20 13 fi 14 15 if [ ! -e /var/keys/add.data ]; then 16 echo "use ipk config file: add.data" 17 echo "rename /var/keys/add.data.mbox > /var/keys/add.data" 18 mv /var/keys/add.data.mbox /var/keys/add.data 19 else 20 echo "found user config file: add.data" 21 echo "skip ipk config file: add.data.mbox" 22 fi 23 24 if [ ! -e /var/keys/mbox.cfg ]; then 25 echo "use ipk config file: mbox.cfg" 26 echo "rename /var/keys/mbox.cfg.mbox > /var/keys/mbox.cfg" 27 mv /var/keys/mbox.cfg.mbox /var/keys/mbox.cfg 28 else 29 echo "found user config file: mbox.cfg" 30 echo "skip ipk config file: mbox.cfg.mbox" 31 fi 32 33 if [ ! -e /var/keys/cwshare.cfg ]; then 34 echo "use ipk config file: cwshare.cfg" 35 echo "rename /var/keys/cwshare.cfg.mbox > /var/keys/cwshare.cfg" 36 mv /var/keys/cwshare.cfg.mbox /var/keys/cwshare.cfg 37 else 38 echo "found user config file: cwshare.cfg" 39 echo "skip ipk config file: cwshare.cfg.mbox" 40 fi 41 42 if [ ! -e /var/keys/port.list ]; then 43 echo "use ipk config file: port.list" 44 echo "rename /var/keys/port.list.mbox > /var/keys/port.list" 45 mv /var/keys/port.list.mbox /var/keys/port.list 46 else 47 echo "found user config file: port.list" 48 echo "skip ipk config file: port.list.mbox" 49 fi 50 21 51 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/openaaf/chrome/common/titannit_trac_banner.png)