summarylogtreecommitdiffstats
path: root/fbsplash.install
blob: 9ceef804201092ef1cdc9d28336e386f07e42c17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
post_install() {
	echo "------------------------------------------------------------"
	echo "> This package doesn't contain a default theme."
	echo "> You need to install one separately."
        echo "> To find some themes, just search AUR for \"fbsplash-theme\","
        echo "> or GNOME-Look.org or KDE-Look.org for \"fbsplash\"."
        echo "------------------------------------------------------------"
        echo "> Configuration for fbsplash: /etc/conf.d/splash"
        echo "> Configuration for fbcondecor: /etc/conf.d/fbcondecor"
	echo "------------------------------------------------------------"
        echo "> Remember to rebuild the initrd after changing the"
        echo "> configuration."
        echo "------------------------------------------------------------"
	echo "> Please read http://wiki.archlinux.org/index.php/Fbsplash"
	echo "> for more details."
	echo "------------------------------------------------------------"
}

post_upgrade() {
	if [ -d /lib/splash/sys ]; then
	  rm -r /lib/splash/sys
	fi
	if [ ! "$(ls -A /lib/splash)" ]; then
	  rmdir /lib/splash
	fi
	post_install
}

op=$1
shift
$op $*

#EOF