HEX
Server: Apache/2.4.63 (Unix)
System: Linux Synopilou92 4.4.302+ #72806 SMP Mon Jul 21 23:16:00 CST 2025 x86_64
User: pilou92 (1026)
PHP: 8.0.30
Disabled: NONE
Upload Files
File: //usr/local/plugin/share_delete/HyperBackupShareDelete.sh
#!/bin/sh

if [ -f "/var/packages/HyperBackup/enabled" ]; then
	# check if share is source with encryption
	/var/packages/HyperBackup/target/bin/hook/BackupShareDelete ${1} 2>&1
	if [ $? -eq 1 ]; then
		exit 1
	else
		exit 0
	fi
fi

exit 0