summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-11-22 06:08:21 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-11-22 06:08:21 (GMT)
commit70f0f13aca8671686226718741f2cea1f894c3a8 (patch)
tree942ec4e7857f4d9a148288b093099a73a8b5fb23
parent0d949654424e93766d46705637ec2beed8a7a3c7 (diff)
downloadlinhes_pkgbuild-70f0f13aca8671686226718741f2cea1f894c3a8.zip
linhes_pkgbuild-70f0f13aca8671686226718741f2cea1f894c3a8.tar.gz
linhes_pkgbuild-70f0f13aca8671686226718741f2cea1f894c3a8.tar.bz2
plymouth-linhes: Add install file so that this theme is set as the default when installed
refs #869
-rw-r--r--abs/core/plymouth-theme-linhes/PKGBUILD2
-rw-r--r--abs/core/plymouth-theme-linhes/plymouth-linhes.install7
2 files changed, 8 insertions, 1 deletions
diff --git a/abs/core/plymouth-theme-linhes/PKGBUILD b/abs/core/plymouth-theme-linhes/PKGBUILD
index 0418a70..45d41be 100644
--- a/abs/core/plymouth-theme-linhes/PKGBUILD
+++ b/abs/core/plymouth-theme-linhes/PKGBUILD
@@ -8,7 +8,7 @@ license=('GPL')
depends=('plymouth')
options=('')
source=("linhes-logo.tar.gz")
-
+install=plymouth-linhes.install
package() {
cd $srcdir/linhes-logo
mkdir -p $pkgdir/usr/share/plymouth/themes/linhes-logo
diff --git a/abs/core/plymouth-theme-linhes/plymouth-linhes.install b/abs/core/plymouth-theme-linhes/plymouth-linhes.install
new file mode 100644
index 0000000..1b43e42
--- /dev/null
+++ b/abs/core/plymouth-theme-linhes/plymouth-linhes.install
@@ -0,0 +1,7 @@
+post_install(){
+ /usr/sbin/plymouth-set-default-theme linhes-logo
+}
+op=$1
+shift
+$op $*
+