Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8885cce7 authored by Akhil's avatar Akhil 🙂
Browse files

Update contacts and calendar urls

parent 2de02e1b
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -39,12 +39,12 @@ RUN curl -fsSL -o notes.tar.gz \
    rm notes.tar.gz;

RUN curl -fsSL -o contacts.tar.gz \
    "https://github.com/nextcloud-releases/contacts/releases/download/v${CONTACTS_VERSION}/contacts-v${CONTACTS_VERSION}.tar.gz" && \
    "https://github.com/nextcloud-releases/contacts/releases/download/v${CONTACTS_VERSION}/contacts.tar.gz" && \
    tar -xf contacts.tar.gz -C ${BASE_DIR}/custom_apps/ && \
    rm contacts.tar.gz;

RUN curl -fsSL -o calendar.tar.gz \
    "https://github.com/nextcloud-releases/calendar/releases/download/v${CALENDAR_VERSION}/calendar-v${CALENDAR_VERSION}.tar.gz" && \
    "https://github.com/nextcloud-releases/calendar/releases/download/v${CALENDAR_VERSION}/calendar.tar.gz" && \
    tar -xf calendar.tar.gz -C ${BASE_DIR}/custom_apps/ && \
    rm calendar.tar.gz;

+2 −2
Original line number Diff line number Diff line
@@ -40,16 +40,16 @@ if [ "$(id -u)" = 0 ]; then
    su -p www-data -s /bin/sh -c "php $DST_DIR/occ app:disable apporder"
    su -p www-data -s /bin/sh -c "php $DST_DIR/occ app:enable ecloud-launcher"
    su -p www-data -s /bin/sh -c "php $DST_DIR/occ app:enable ecloud-theme-helper"
    su -p www-data -s /bin/sh -c "php $DST_DIR/occ app:enable ecloud-accounts"
    su -p www-data -s /bin/sh -c "php $DST_DIR/occ app:disable ecloud_drop_account"
    su -p www-data -s /bin/sh -c "php $DST_DIR/occ app:enable ecloud-accounts"
    su -p www-data -s /bin/sh -c "php $DST_DIR/occ config:system:set integrity.check.disabled --value='true' --type=boolean"
    su -p www-data -s /bin/sh -c "php $DST_DIR/occ config:system:set theme --value='eCloud'"
else
    sh -c "php $DST_DIR/occ app:disable apporder"
    sh -c "php $DST_DIR/occ app:enable ecloud-launcher"
    sh -c "php $DST_DIR/occ app:enable ecloud-theme-helper"
    sh -c "php $DST_DIR/occ app:enable ecloud-accounts"
    sh -c "php $DST_DIR/occ app:disable ecloud_drop_account"
    sh -c "php $DST_DIR/occ app:enable ecloud-accounts"
    sh -c "php $DST_DIR/occ config:system:set integrity.check.disabled --value='true' --type=boolean"
    sh -c "php $DST_DIR/occ config:system:set theme --value='eCloud'"    
fi