add fuser package

This commit is contained in:
chiu 2023-09-09 03:39:54 +00:00
parent ea329c71b6
commit 1f071b5df0
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ if [[ -e "/etc/needrestart/needrestart.conf" ]]; then
sudo sed -E -i "s/(^|#)\\\$nrconf\{kernelhints\}\s*=.*/\$nrconf\{kernelhints\} = -1;/g" /etc/needrestart/needrestart.conf
fi
sudo apt update
sudo apt install -y git
sudo apt install -y git psmisc #fuser
org_pwd=$(pwd)
if [[ "$ubuntu_version" > '22' ]]; then #In ubuntu 22, install linux-libc-dev instead of linux-kernel-headers
sudo apt install -y linux-libc-dev software-properties-common build-essential