Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #171 from btactic/local_zimlet_deploy
Browse files Browse the repository at this point in the history
Local zimlet deploy
  • Loading branch information
Barry de Graaff authored May 7, 2018
2 parents 2812a10 + d9ddb26 commit deec3f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webdav-client-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ if [[ "$YNZIMLETDEV" == 'N' || "$YNZIMLETDEV" == 'n' ]];
then
echo "Not touching COS per user request."
else
su - zimbra -c "zmzimletctl undeploy tk_barrydegraaff_owncloud_zimlet"
su - zimbra -c "zmzimletctl -l undeploy tk_barrydegraaff_owncloud_zimlet"
fi

TMPFOLDER="$(mktemp -d /tmp/webdav-client-installer.XXXXXXXX)"
Expand Down Expand Up @@ -266,7 +266,7 @@ else
if [[ "$YNZIMLETISNOTPRODUCTION" == 'N' || "$YNZIMLETISNOTPRODUCTION" == 'n' ]];
then
chown zimbra:zimbra $TMPFOLDER -R
su - zimbra -c "zmzimletctl deploy $TMPFOLDER/owncloud-zimlet/zimlet/tk_barrydegraaff_owncloud_zimlet.zip"
su - zimbra -c "zmzimletctl -l deploy $TMPFOLDER/owncloud-zimlet/zimlet/tk_barrydegraaff_owncloud_zimlet.zip"
else
mkdir -p ${OWNCLOUD_ZIMLET_PATH}/
unzip $TMPFOLDER/owncloud-zimlet/zimlet/tk_barrydegraaff_owncloud_zimlet.zip -d ${OWNCLOUD_ZIMLET_PATH}/
Expand Down Expand Up @@ -385,7 +385,7 @@ if [[ "$YNZIMLETDEV" == 'N' || "$YNZIMLETDEV" == 'n' ]];
then
chown zimbra:zimbra $TMPFOLDER -R
echo "To install Zimlet run as user Zimbra:"
echo "zmzimletctl deploy $TMPFOLDER/owncloud-zimlet/zimlet/tk_barrydegraaff_owncloud_zimlet.zip"
echo "zmzimletctl -l deploy $TMPFOLDER/owncloud-zimlet/zimlet/tk_barrydegraaff_owncloud_zimlet.zip"
echo "java -jar $TMPFOLDER/upgrade/prop2xml.jar tk_barrydegraaff_owncloud_zimlet ${OWNCLOUD_EXTENSION_PATH}/config.properties ${OWNCLOUD_ZIMLET_PATH}/config_template.xml"
echo "zmzimletctl configure ${OWNCLOUD_ZIMLET_PATH}/config_template.xml"
echo "zmprov fc all"
Expand Down

0 comments on commit deec3f1

Please sign in to comment.