first commit
This commit is contained in:
17
external/packages/plymouth-theme-orangepi/debian/postinst
vendored
Normal file
17
external/packages/plymouth-theme-orangepi/debian/postinst
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/sh -e
|
||||
|
||||
if [ "x$1" = xconfigure ]; then
|
||||
if which plymouth-set-default-theme >/dev/null 2>&1; then
|
||||
# For Debian
|
||||
plymouth-set-default-theme orangepi
|
||||
else
|
||||
# For Ubuntu
|
||||
update-alternatives \
|
||||
--install /usr/share/plymouth/themes/default.plymouth default.plymouth \
|
||||
/usr/share/plymouth/themes/orangepi/orangepi.plymouth 150
|
||||
fi
|
||||
|
||||
if which update-initramfs >/dev/null 2>&1; then
|
||||
update-initramfs -u
|
||||
fi
|
||||
fi
|
||||
Reference in New Issue
Block a user