Update install script to correct Debian use case
This commit is contained in:
parent
beffca972c
commit
deed92b6e2
@ -14,10 +14,11 @@ else
|
|||||||
sudo=""
|
sudo=""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$sudo cp $run_directory/*.crt /etc/ca-certificates/trust-source/anchors/
|
|
||||||
if command -v update-ca-trust > /dev/null; then
|
if command -v update-ca-trust > /dev/null; then
|
||||||
|
$sudo cp $run_directory/*.crt /etc/ca-certificates/trust-source/anchors/
|
||||||
$sudo update-ca-trust
|
$sudo update-ca-trust
|
||||||
elif command -v update-ca-certificates > /dev/null; then
|
elif command -v update-ca-certificates > /dev/null; then
|
||||||
|
$sudo cp $run_directory/*.crt /usr/local/share/ca-certificates/
|
||||||
$sudo update-ca-certificates
|
$sudo update-ca-certificates
|
||||||
else
|
else
|
||||||
echo "No update-ca binary found. Exiting with error!"
|
echo "No update-ca binary found. Exiting with error!"
|
||||||
|
Loading…
Reference in New Issue
Block a user