This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-09-04 14:33:12 +03:00 committed by GitHub
parent 9ab26cb997
commit cee83f554f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 1 deletions

View File

@ -1,4 +1,4 @@
pika-refind-theme (1.5-99pika1.lunar) lunar; urgency=medium pika-refind-theme (1.5-99pika2.lunar) lunar; urgency=medium
* Fix invalid resolution * Fix invalid resolution

View File

@ -25,3 +25,26 @@ fi
grep -qxF 'include refind-dark/refind-dark.conf' $EFI_PATH/EFI/refind/refind.conf || echo 'include refind-dark/refind-dark.conf' >> $EFI_PATH/EFI/refind/refind.conf grep -qxF 'include refind-dark/refind-dark.conf' $EFI_PATH/EFI/refind/refind.conf || echo 'include refind-dark/refind-dark.conf' >> $EFI_PATH/EFI/refind/refind.conf
cp -R /usr/share/pika-refind/theme/* $EFI_PATH/EFI/refind cp -R /usr/share/pika-refind/theme/* $EFI_PATH/EFI/refind
echo "changing up refind_linux.conf"
if /boot/refind_linux.conf | grep amd_pstate
then
ture
else
sed -i "s#root=#amd_pstate=active root=#" /boot/refind_linux.conf
fi
if /boot/refind_linux.conf | grep nowatchdog
then
ture
else
sed -i "s#root=#nowatchdog root=#" /boot/refind_linux.conf
fi
if /boot/refind_linux.conf | grep amd_prefcore
then
ture
else
sed -i "s#root=#amd_prefcore=enable root=#" /boot/refind_linux.conf
fi