add fuser package
This commit is contained in:
parent
ea329c71b6
commit
1f071b5df0
|
@ -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
|
sudo sed -E -i "s/(^|#)\\\$nrconf\{kernelhints\}\s*=.*/\$nrconf\{kernelhints\} = -1;/g" /etc/needrestart/needrestart.conf
|
||||||
fi
|
fi
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y git
|
sudo apt install -y git psmisc #fuser
|
||||||
org_pwd=$(pwd)
|
org_pwd=$(pwd)
|
||||||
if [[ "$ubuntu_version" > '22' ]]; then #In ubuntu 22, install linux-libc-dev instead of linux-kernel-headers
|
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
|
sudo apt install -y linux-libc-dev software-properties-common build-essential
|
||||||
|
|
Loading…
Reference in New Issue