mirror of
https://github.com/Frogging-Family/nvidia-all
synced 2024-10-30 15:20:10 +00:00
Refrain from using bashisms in scripts that have a #!/bin/sh hashbang
This commit is contained in:
parent
24c3866114
commit
3ff1fe176e
2
PKGBUILD
2
PKGBUILD
@ -294,7 +294,7 @@ md5sums=("$_md5sum"
|
||||
'cb27b0f4a78af78aa96c5aacae23256c'
|
||||
'3d2894e71d81570bd00bce416d3e547d'
|
||||
'3d32130235acc5ab514e1021f7f5c439'
|
||||
'204c5eeb18bdbbc86466e4da32f02003'
|
||||
'5aec90d8d2e09b29e595270a0d3ecbf8'
|
||||
'7a825f41ada7e106c8c0b713a49b3bfa'
|
||||
'd961d1dce403c15743eecfe3201e4b6a'
|
||||
'14460615a9d4e247c8d9bcae8776ed48'
|
||||
|
@ -12,4 +12,4 @@ Target=nvidia-dev-dkms-tkg
|
||||
Description=Update Nvidia modules in initcpio
|
||||
When=PostTransaction
|
||||
NeedsTargets
|
||||
Exec=/bin/sh -c '[[ -f /usr/bin/mkinitcpio ]] && mkinitcpio -P || echo -e "\e[31m mkinitcpio not found, please update initramfs manually\e[0m"'
|
||||
Exec=/bin/sh -c 'if command -v mkinitcpio >/dev/null 2>&1; then mkinitcpio -P; else printf "\\033[31m mkinitcpio not found, please update initramfs manually\\033[0m\\n"; fi'
|
||||
|
Loading…
Reference in New Issue
Block a user