blob: 14c6909b7c50e80789a8f8fc1b16d07013ad0020 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# res-downloader.install
info() {
echo -e "> If you are prompted that the certificate is not installed when you run it, you need to run it with root to install the certificate automatically, and you can ignore the error if the certificate is already installed."
echo -e "> sudo res-downloader"
echo -e "> ls -lash /usr/share/ca-certificates/trust-source/res-downloader.crt"
}
post_install() {
info
}
post_upgrade() {
info
}
pre_remove() {
echo "deleting the res-downloader crt..."
find /usr/share/ca-certificates/trust-source/ -type f -name "res-downloader.crt" -exec rm -rf {} +
}
|