We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e2850c commit 10c3ab2Copy full SHA for 10c3ab2
core/tabs/system-setup/arch/linux-neptune.sh
@@ -30,9 +30,9 @@ installKernel() {
30
if [ -f /etc/default/grub ]; then
31
printf "%b\n" "${CYAN}Updating GRUB...${RC}"
32
if ! grep -q '^UPDATEDEFAULT=' /etc/default/grub; then
33
- echo 'UPDATEDEFAULT=yes' | sudo tee -a /etc/default/grub
+ echo 'UPDATEDEFAULT=yes' | "$ESCALATION_TOOL" tee -a /etc/default/grub
34
else
35
- sudo sed -i 's/^UPDATEDEFAULT=.*/UPDATEDEFAULT=yes/' /etc/default/grub
+ "$ESCALATION_TOOL" sed -i 's/^UPDATEDEFAULT=.*/UPDATEDEFAULT=yes/' /etc/default/grub
36
fi
37
if [ -f /boot/grub/grub.cfg ]; then
38
"$ESCALATION_TOOL" grub-mkconfig -o /boot/grub/grub.cfg
0 commit comments