mirror of
https://github.com/keylase/nvidia-patch.git
synced 2025-08-21 22:03:12 -07:00
Update patch-fbc.sh
ldconfig needs elevated rights, but we dont wanna start the entire script elevated or we are in the wrong context. so we invoke only ldconfig via sudo
This commit is contained in:
parent
e8be7a508a
commit
99b34a8799
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@ patch () {
|
|||
sed "$patch" "$backup_path/$object.$driver_version$backup_suffix" > \
|
||||
"${PATCH_OUTPUT_DIR-$driver_dir}/$object.$driver_version"
|
||||
sha1sum "${PATCH_OUTPUT_DIR-$driver_dir}/$object.$driver_version"
|
||||
ldconfig
|
||||
sudo ldconfig
|
||||
echo "Patched!"
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue