7 ## arg 1: the new package version
9 #link mint-fm2 in bin directory
10 if [ ! -L /usr
/bin
/mint-fm2
]
12 ln -s /usr
/lib
/linuxmint
/mint-fm
2/mint-fm2
/usr
/bin
/mint-fm2
15 if [ ! -L /etc
/rc.d
/mfmrootdaemon
]
17 ln -s /usr
/lib
/linuxmint
/mint-fm
2/mfmrootdaemon
/etc
/rc.d
/mfmrootdaemon
19 echo "****************************************"
20 echo "Mint-FM2 is the autogenerating and
21 autoupdating menu system for the Linux Mint Fluxbox
22 Edition. Mint-FM2 also provides an exit dialog.
23 This is the Arch Linux port."
25 echo "This AUR package will install the system
26 wide daemon to monitor for changes. Please enable
27 the daemon by adding 'mfmrootdaemon' to the DAEMONS
28 section in /etc/rc.conf."
30 echo "You will also have to launch the menu in
31 your Fluxbox startup file (~/.fluxbox/startup).
32 Simply add the following line at an appropriate
36 echo "If you are upgrading from v2.xx, please
37 delete ~/.mint-fm2 and ~/.fluxbox/menu."
39 echo "For more info visit:
40 http://community.linuxmint.com/tutorial/view/96"
41 echo "****************************************"
45 ## arg 1: the new package version
46 ## arg 2: the old package version
51 ## arg 1: the new package version
52 ## arg 2: the old package version
54 /etc
/rc.d
/mfmrootdaemon restart
58 ## arg 1: the old package version
60 /etc
/rc.d
/mfmrootdaemon stop
63 ## arg 1: the old package version
66 if [ -L /usr
/bin
/mint-fm2
]
70 if [ -L /etc
/rc.d
/mfmrootdaemon
]
72 rm /etc
/rc.d
/mfmrootdaemon
75 echo "****************************************"
76 echo 'Users must delete the folder ~/.mint-fm2 for uninstallation to be complete'
77 echo "****************************************"