Fix YunoHost common script path
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
source ./scripts/_common.sh
|
||||
source ./_common.sh
|
||||
|
||||
mkdir -p "$YNH_BACKUP_DIR"
|
||||
tar -C / -czf "$YNH_BACKUP_DIR/albumik-data.tar.gz" "${data_dir#/}" "${config_dir#/}" "${install_dir#/}" 2>/dev/null || true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
source ./scripts/_common.sh
|
||||
source ./_common.sh
|
||||
|
||||
# YunoHost install args
|
||||
# packaging v2 passes these variables to scripts.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
source ./scripts/_common.sh
|
||||
source ./_common.sh
|
||||
|
||||
domain=$(yunohost app setting "$app" domain 2>/dev/null || echo "")
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
source ./scripts/_common.sh
|
||||
source ./_common.sh
|
||||
|
||||
if [ -f "$YNH_BACKUP_DIR/albumik-data.tar.gz" ]; then
|
||||
tar -C / -xzf "$YNH_BACKUP_DIR/albumik-data.tar.gz"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
source ./scripts/_common.sh
|
||||
source ./_common.sh
|
||||
|
||||
systemctl stop "$app" 2>/dev/null || true
|
||||
mkdir -p "$install_dir"
|
||||
|
||||
Reference in New Issue
Block a user