Browse Source

Update syno_hdd_db.sh

Bugfix for backing up storage_panel
pull/186/head
Dave Russell 2 years ago
committed by GitHub
parent
commit
bfce6e644e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      syno_hdd_db.sh

2
syno_hdd_db.sh

@ -1761,7 +1761,7 @@ if [[ -f "$strgmgr" ]]; then
# Backup storage_panel.js"
strgmgrver="$(synopkg version StorageManager)"
echo ""
if [[ ! -f "${1}.$strgmgrver" ]]; then
if [[ ! -f "${strgmgr}.$strgmgrver" ]]; then
if cp -p "$strgmgr" "${strgmgr}.$strgmgrver"; then
echo -e "Backed up $(basename -- "$strgmgr")"
else

Loading…
Cancel
Save