pinstall.sh 261 B

1234567891011
  1. #!/bin/sh
  2. CWD="`pwd`"
  3. if [ "$CWD" != "/" ]; then #woof
  4. cd ./usr/share/ca-certificates
  5. find -type f | cut -c 3- > ../../../etc/ca-certificates.conf
  6. cd "$CWD"
  7. chroot . /usr/sbin/update-ca-certificates --fresh
  8. else
  9. /usr/sbin/update-ca-certificates --fresh
  10. fi