| 1 |
#! /bin/sh |
| 2 |
|
| 3 |
set -e |
| 4 |
|
| 5 |
#DEBHELPER# |
| 6 |
|
| 7 |
EDUTHEME="softwaves" |
| 8 |
|
| 9 |
# Make softwaves the default for Debian Edu Stretch via triggers; |
| 10 |
# see debian-edu-artwork-softwaves.triggers |
| 11 |
# Set plymouth default theme only for Debian Edu installations. |
| 12 |
|
| 13 |
case "$1" in |
| 14 |
configure) |
| 15 |
update-debian-edu-artwork-$EDUTHEME configure |
| 16 |
;; |
| 17 |
triggered) |
| 18 |
update-debian-edu-artwork-$EDUTHEME configure |
| 19 |
if [ -f /etc/plymouth/plymouthd.conf ] && [ -f /etc/debian-edu/config ] && command -v plymouth-set-default-theme > /dev/null ; then |
| 20 |
plymouth-set-default-theme -R debian-edu-${EDUTHEME} |
| 21 |
fi |
| 22 |
;; |
| 23 |
esac |