updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / k-encfs / k-encfs.install
blob2f9553b724778e714860d2ff1714fbe8ceb6d4e9
1 # This is a default template for a post-install scriptlet.  You can
2 # remove any functions you don't need (and this header).
4 # arg 1:  the new package version
5 post_install() {
6 echo ">>>"
7 echo ">>>       HOW TO MOUNT AN ECRYPTED FS DURING LOGIN WITH KENCFS"
8 echo ">>>"
9 echo ">>> Open the "startkde" script with a texteditor,"
10 echo ">>> and search for the section begins with"
11 echo ">>> \"# run KPersonalizer before the session, if this is the first login\"."
12 echo ">>>"
13 echo ">>> Before the last "fi" tag, insert the following 5 lines:"
14 echo ">>>"
15 echo ">>> if ..."
16 echo ">>>."
17 echo ">>>."
18 echo ">>>."
19 echo ">>> else # inserted line 1"
20 echo ">>> if [ -e /opt/kde/lib/kencfs2/kencfspass_ui.py ] && [ -e ~/.kencfs2/start_with_kde.flag ] # inserted line 2"
21 echo ">>> then # inserted line 3"
22 echo ">>> python /opt/kde/lib/kencfs2/kencfspass.py # inserted line 4"
23 echo ">>> fi # inserted line 5"
24 echo ">>> fi # last fi"
26 /bin/true
29 op=$1
30 shift
31 $op $*