summaryrefslogtreecommitdiffstats
path: root/arch/tde-core/tde-tdebase/trinity-tdebase.install
blob: b2ba604efc5e0039bf7d64bd50742f913c4bdaa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
   ldconfig &> /dev/null
   [ -n "$TDEDIR" ] || TDEDIR=/opt/trinity
   $TDEDIR/bin/mkpamserv tde
   $TDEDIR/bin/mkpamserv tde-screensaver
   $TDEDIR/bin/mkpamserv tde-checkpass
}

post_upgrade() {
   post_install
}

post_remove() {
   ldconfig &> /dev/null
   rm /etc/pam.d/{tde,tde-screensaver,tde-checkpass}
}