Skip to content

Commit

Permalink
Set needrestart to list mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Neylix committed Feb 7, 2025
1 parent 311ea40 commit 1807121
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.ta

# Prevent upgrade to prompt service restart
if [ -f /etc/needrestart/needrestart.conf ]; then
sudo sed -i 's/#$nrconf{restart} = '"'"'i'"'"';/$nrconf{restart} = '"'"'a'"'"';/g' /etc/needrestart/needrestart.conf
sudo sed -i 's/#$nrconf{restart} = '"'"'i'"'"';/$nrconf{restart} = '"'"'l'"'"';/g' /etc/needrestart/needrestart.conf
fi

sudo apt-get update
Expand Down

0 comments on commit 1807121

Please sign in to comment.