Add spinner theme to initcpio if bgrt is enabled
This commit is contained in:
parent
bc07bc09b2
commit
a12d14477b
3 changed files with 14 additions and 4 deletions
4
PKGBUILD
4
PKGBUILD
|
@ -51,8 +51,8 @@ md5sums=('SKIP'
|
||||||
'606cd558141551a1ce0d80150a045d83'
|
'606cd558141551a1ce0d80150a045d83'
|
||||||
'672ad913e2383483bcb4599a0a6bee48'
|
'672ad913e2383483bcb4599a0a6bee48'
|
||||||
'32f04fdbd1eb94ade30d1e63fdcdd9b5'
|
'32f04fdbd1eb94ade30d1e63fdcdd9b5'
|
||||||
'c17e915b19a469198a37dd7376a846c7'
|
'418634694298dba2f936e6dc90250aa6'
|
||||||
'af3c3eadc80e240416d11b2d5983dfb5'
|
'5a8329c4badf7792bb1890f968a1421d'
|
||||||
'69f16be8d44b25c199eb53c436884b07'
|
'69f16be8d44b25c199eb53c436884b07'
|
||||||
'98c20619291ee7c5a1c5f24b50e92db8')
|
'98c20619291ee7c5a1c5f24b50e92db8')
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,11 @@ build() {
|
||||||
|
|
||||||
if [ -d ${DATADIR}/plymouth/themes/${PLYMOUTH_THEME_NAME} ]; then
|
if [ -d ${DATADIR}/plymouth/themes/${PLYMOUTH_THEME_NAME} ]; then
|
||||||
add_full_dir ${DATADIR}/plymouth/themes/${PLYMOUTH_THEME_NAME}
|
add_full_dir ${DATADIR}/plymouth/themes/${PLYMOUTH_THEME_NAME}
|
||||||
|
|
||||||
|
# BGRT theme depends on Spinner theme
|
||||||
|
if [ "${PLYMOUTH_THEME_NAME}" == "bgrt" ] && [ -d ${DATADIR}/plymouth/themes/spinner ]; then
|
||||||
|
add_full_dir ${DATADIR}/plymouth/themes/spinner
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
add_file /usr/lib/udev/rules.d/70-uaccess.rules
|
add_file /usr/lib/udev/rules.d/70-uaccess.rules
|
||||||
|
|
|
@ -37,6 +37,11 @@ build() {
|
||||||
|
|
||||||
if [ -d ${DATADIR}/plymouth/themes/${PLYMOUTH_THEME_NAME} ]; then
|
if [ -d ${DATADIR}/plymouth/themes/${PLYMOUTH_THEME_NAME} ]; then
|
||||||
add_full_dir ${DATADIR}/plymouth/themes/${PLYMOUTH_THEME_NAME}
|
add_full_dir ${DATADIR}/plymouth/themes/${PLYMOUTH_THEME_NAME}
|
||||||
|
|
||||||
|
# BGRT theme depends on Spinner theme
|
||||||
|
if [ "${PLYMOUTH_THEME_NAME}" == "bgrt" ] && [ -d ${DATADIR}/plymouth/themes/spinner ]; then
|
||||||
|
add_full_dir ${DATADIR}/plymouth/themes/spinner
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
add_udev_rule 70-uaccess.rules
|
add_udev_rule 70-uaccess.rules
|
||||||
|
|
Loading…
Reference in a new issue