Ajout du projet blorand-plymouth-theme à ce git
This commit is contained in:
5
blorand-plymouth-theme/debian/changelog
Normal file
5
blorand-plymouth-theme/debian/changelog
Normal file
@@ -0,0 +1,5 @@
|
||||
blorand-plymouth-theme (1.0-1) stable; urgency=medium
|
||||
|
||||
* Initial release. (Closes: #XXXXXX)
|
||||
|
||||
-- Benoit LORAND <benoit.lorand@blorand.org> Mon, 09 Sep 2019 21:19:05 +0200
|
1
blorand-plymouth-theme/debian/compat
Normal file
1
blorand-plymouth-theme/debian/compat
Normal file
@@ -0,0 +1 @@
|
||||
10
|
18
blorand-plymouth-theme/debian/control
Normal file
18
blorand-plymouth-theme/debian/control
Normal file
@@ -0,0 +1,18 @@
|
||||
Source: blorand-plymouth-theme
|
||||
Maintainer: Benoit LORAND <benoit.lorand@blorand.fr>
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Standards-Version: 3.9.2
|
||||
Build-Depends: debhelper (>= 9)
|
||||
|
||||
Package: blorand-plymouth-theme
|
||||
Architecture: all
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
plymouth,
|
||||
plymouth-themes
|
||||
Section: Personnalisation_BLORAND
|
||||
Conflicts: provectio-plymouth-theme
|
||||
Replaces: provectio-plymouth-theme
|
||||
Priority: optional
|
||||
Description: Thème de démarrage de Blorand
|
47
blorand-plymouth-theme/debian/postinst
Executable file
47
blorand-plymouth-theme/debian/postinst
Executable file
@@ -0,0 +1,47 @@
|
||||
#! /bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
PLYMOUTHCONF="/etc/plymouth/plymouthd.conf"
|
||||
if [ -e $PLYMOUTHCONF ] ; then
|
||||
if ( ! grep '^\[Daemon\]' $PLYMOUTHCONF > /dev/null 2>&1 ) ; then
|
||||
echo '[Daemon]' >> $PLYMOUTHCONF
|
||||
fi
|
||||
if ( grep '^Theme=' $PLYMOUTHCONF > /dev/null 2>&1 ) ; then
|
||||
sed -i 's/^Theme=.*$/Theme=blorand/g' $PLYMOUTHCONF
|
||||
else
|
||||
echo 'Theme=blorand' >> $PLYMOUTHCONF
|
||||
fi
|
||||
else
|
||||
echo -e "[Daemon]\nTheme=blorand" > $PLYMOUTHCONF
|
||||
fi
|
||||
update-rc.d plymouth defaults
|
||||
update-rc.d plymouth-log defaults
|
||||
|
||||
if [ -e /etc/default/grub ] ; then
|
||||
if ( ! awk -F'=' '$1 ~ /^GRUB_CMDLINE_LINUX_DEFAULT/ { print $2 }' /etc/default/grub | grep splash > /dev/null 2>&1) ; then
|
||||
sed -i 's/^GRUB_CMDLINE_LINUX_DEFAULT="\([^"]*\).*$/GRUB_CMDLINE_LINUX_DEFAULT="\1 splash"/g' /etc/default/grub
|
||||
[ -x /usr/sbin/update-grub2 ] && /usr/sbin/update-grub2
|
||||
fi
|
||||
fi
|
||||
update-initramfs -u
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
|
||||
|
||||
exit 0
|
9
blorand-plymouth-theme/debian/rules
Executable file
9
blorand-plymouth-theme/debian/rules
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/make -f
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_install:
|
||||
install -D -m 0644 blorand.plymouth $$(pwd)/debian/blorand-plymouth-theme/usr/share/plymouth/themes/blorand/blorand.plymouth
|
||||
install -D -m 0644 blorand.png $$(pwd)/debian/blorand-plymouth-theme/usr/share/plymouth/themes/blorand/blorand.png
|
||||
install -D -m 0644 blorand.script $$(pwd)/debian/blorand-plymouth-theme/usr/share/plymouth/themes/blorand/blorand.script
|
||||
|
1
blorand-plymouth-theme/debian/source/format
Normal file
1
blorand-plymouth-theme/debian/source/format
Normal file
@@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
Reference in New Issue
Block a user