From 70f0f13aca8671686226718741f2cea1f894c3a8 Mon Sep 17 00:00:00 2001
From: James Meyer <james.meyer@operamail.com>
Date: Thu, 22 Nov 2012 00:08:21 -0600
Subject: plymouth-linhes: Add install file so that this theme is set as the
 default when installed

refs #869
---
 abs/core/plymouth-theme-linhes/PKGBUILD                | 2 +-
 abs/core/plymouth-theme-linhes/plymouth-linhes.install | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 abs/core/plymouth-theme-linhes/plymouth-linhes.install

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 $*
+
-- 
cgit v0.12

