Skip to content

Commit

Permalink
Amendments following review
Browse files Browse the repository at this point in the history
  • Loading branch information
mreid-tt committed Oct 18, 2023
1 parent d254a91 commit d05d631
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions spk/owncloud/src/service-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ WEB_DIR="/var/services/web_packages"
if [ $SYNOPKG_DSM_VERSION_MAJOR -lt 7 ];then
WEB_DIR="/var/services/web"
fi
if [ -z "${SYNOPKG_PKGDEST_VOL}" ]; then
SYNOPKG_PKGDEST_VOL="/volume1"
fi
if [ -z "${SYNOPKG_PKGTMP}" ]; then
SYNOPKG_PKGTMP="${SYNOPKG_PKGDEST_VOL}/@tmp"
fi
Expand Down Expand Up @@ -139,7 +136,7 @@ service_postinst ()

if [ "${SYNOPKG_PKG_STATUS}" = "INSTALL" ]; then
# Parse data directory
DATA_DIR="${SYNOPKG_PKGDEST_VOL}/${wizard_data_share}/data"
DATA_DIR="${SHARE_PATH}/data"
# Create data directory
${MKDIR} "${DATA_DIR}"

Expand Down

0 comments on commit d05d631

Please sign in to comment.