Skip to content

Commit

Permalink
Update code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mreid-tt committed Nov 8, 2023
1 parent 84065e0 commit a3a0f3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spk/selfoss/src/service-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ set_selfoss_permissions ()

service_postinst ()
{
# Web interface setup for DSM 6 -- used by INSTALL and UPGRADE
if [ ${SYNOPKG_DSM_VERSION_MAJOR} -lt 7 ]; then
# Install the web interface
echo "Installing web interface"
Expand Down Expand Up @@ -107,8 +108,10 @@ service_postinst ()

service_postuninst ()
{
# Web interface removal for DSM 6 -- used by UNINSTALL and UPGRADE
if [ ${SYNOPKG_DSM_VERSION_MAJOR} -lt 7 ]; then
# Remove the web interface
echo "Removing web interface"
${RM} ${SELFOSS_ROOT}

# Remove web configurations
Expand Down

0 comments on commit a3a0f3d

Please sign in to comment.