Add spinner theme to initcpio if bgrt is enabled

This commit is contained in:
Davide Depau 2019-06-01 03:06:03 +02:00
parent bc07bc09b2
commit a12d14477b
3 changed files with 14 additions and 4 deletions

View File

@ -51,8 +51,8 @@ md5sums=('SKIP'
'606cd558141551a1ce0d80150a045d83'
'672ad913e2383483bcb4599a0a6bee48'
'32f04fdbd1eb94ade30d1e63fdcdd9b5'
'c17e915b19a469198a37dd7376a846c7'
'af3c3eadc80e240416d11b2d5983dfb5'
'418634694298dba2f936e6dc90250aa6'
'5a8329c4badf7792bb1890f968a1421d'
'69f16be8d44b25c199eb53c436884b07'
'98c20619291ee7c5a1c5f24b50e92db8')

View File

@ -34,6 +34,11 @@ build() {
if [ -d ${DATADIR}/plymouth/themes/${PLYMOUTH_THEME_NAME} ]; then
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
add_file /usr/lib/udev/rules.d/70-uaccess.rules

View File

@ -37,6 +37,11 @@ build() {
if [ -d ${DATADIR}/plymouth/themes/${PLYMOUTH_THEME_NAME} ]; then
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
add_udev_rule 70-uaccess.rules