Skip to content

Commit 10c3ab2

Browse files
no idea how these got there
Co-authored-by: nnyyxxxx <[email protected]>
1 parent 8e2850c commit 10c3ab2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/tabs/system-setup/arch/linux-neptune.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ installKernel() {
3030
if [ -f /etc/default/grub ]; then
3131
printf "%b\n" "${CYAN}Updating GRUB...${RC}"
3232
if ! grep -q '^UPDATEDEFAULT=' /etc/default/grub; then
33-
echo 'UPDATEDEFAULT=yes' | sudo tee -a /etc/default/grub
33+
echo 'UPDATEDEFAULT=yes' | "$ESCALATION_TOOL" tee -a /etc/default/grub
3434
else
35-
sudo sed -i 's/^UPDATEDEFAULT=.*/UPDATEDEFAULT=yes/' /etc/default/grub
35+
"$ESCALATION_TOOL" sed -i 's/^UPDATEDEFAULT=.*/UPDATEDEFAULT=yes/' /etc/default/grub
3636
fi
3737
if [ -f /boot/grub/grub.cfg ]; then
3838
"$ESCALATION_TOOL" grub-mkconfig -o /boot/grub/grub.cfg

0 commit comments

Comments
 (0)