mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-16 21:53:21 +08:00
Added support for Synology Packages in last update. Now corrected an indent
@@ -104,7 +104,7 @@ fi
|
|||||||
# update and restart all installed packages
|
# update and restart all installed packages
|
||||||
PEMFILES=$(find $PACKAGECERTROOTDIR -name cert.pem)
|
PEMFILES=$(find $PACKAGECERTROOTDIR -name cert.pem)
|
||||||
if [ ! -z "$PEMFILES" ]; then
|
if [ ! -z "$PEMFILES" ]; then
|
||||||
for DIR in $PEMFILES; do
|
for DIR in $PEMFILES; do
|
||||||
rsync -avh "$FULLCERTDIR/" "$(dirname $DIR)/"
|
rsync -avh "$FULLCERTDIR/" "$(dirname $DIR)/"
|
||||||
/usr/syno/bin/synopkg restart $(echo $DIR | awk -F/ '{print $6}')
|
/usr/syno/bin/synopkg restart $(echo $DIR | awk -F/ '{print $6}')
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user