Update 550.sh
This commit is contained in:
parent
9cdba6eea6
commit
085ee306e2
1
550.sh
1
550.sh
@ -9,6 +9,7 @@ apt show linux-modules-nvidia-$DRIVER-$(cat ./linux-nvidia-modules/KERNEL) || ex
|
|||||||
apt show linux-modules-nvidia-$DRIVER-$(cat ./linux-nvidia-modules/KERNEL) 2>&1 | grep -v "does not have a stable" | grep Version: | head -n1 | cut -f2 -d":" | tr -d ' ' > ./linux-nvidia-modules/pika_nvidia.txt
|
apt show linux-modules-nvidia-$DRIVER-$(cat ./linux-nvidia-modules/KERNEL) 2>&1 | grep -v "does not have a stable" | grep Version: | head -n1 | cut -f2 -d":" | tr -d ' ' > ./linux-nvidia-modules/pika_nvidia.txt
|
||||||
|
|
||||||
rm -rfv /etc/apt/preferences.d/*
|
rm -rfv /etc/apt/preferences.d/*
|
||||||
|
echo 'Package: *' >> /etc/apt/preferences.d/0-a
|
||||||
echo 'Pin: release c=external' > /etc/apt/preferences.d/0-a
|
echo 'Pin: release c=external' > /etc/apt/preferences.d/0-a
|
||||||
echo 'Pin-Priority: 1000' >> /etc/apt/preferences.d/0-a
|
echo 'Pin-Priority: 1000' >> /etc/apt/preferences.d/0-a
|
||||||
echo 'Package: *' >> /etc/apt/preferences.d/0-a
|
echo 'Package: *' >> /etc/apt/preferences.d/0-a
|
||||||
|
Loading…
Reference in New Issue
Block a user