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

Commit ee7978fc authored by AVINASH GUSAIN's avatar AVINASH GUSAIN
Browse files

sed command added

parent 3b476496
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -127,7 +127,6 @@ RUN patch -u ${BASE_DIR}/lib/private/legacy/OC_Helper.php -i ${TMP_PATCH_DIR}/01
RUN cd ${BASE_DIR} && patch -p0 < ${TMP_PATCH_DIR}/015-email-mail-template.patch
RUN patch -u ${BASE_DIR}/core/templates/layout.guest.php -i ${TMP_PATCH_DIR}/016-login-screen.patch
RUN patch -u ${BASE_DIR}/core/Command/User/Setting.php -i ${TMP_PATCH_DIR}/018-occ-user-setting.patch
RUN patch -u ${BASE_DIR}/apps/dav/templates/schedule-response-error.php -i ${TMP_PATCH_DIR}/021-patch_scheduleresponseerror.patch
RUN rm -rf ${TMP_PATCH_DIR}

# show reset pwd page with a query param
@@ -151,6 +150,9 @@ RUN sed -i 's/Nextcloud administrator/administrator/' ${BASE_DIR}/custom_apps/in
# Remove changeAvatar in changeUserHook of ldap_write_support as it throws errors
RUN sed -i 's/$this->changeAvatar/\/\/ $this->changeAvatar/' ${BASE_DIR}/custom_apps/ldap_write_support/lib/LDAPUserManager.php

#replace error class in schedule response error file to fix error color
sed -i 's/update/error/g' ${BASE_DIR}/apps/dav/templates/schedule-response-error.php

# Custom theme
RUN curl -fsSL -o eCloud-theme.tar.gz \
    "https://gitlab.e.foundation/e/infra/ecloud/nextcloud-apps/nextcloud-theme/-/archive/${THEME_VERSION}/nextcloud-theme-${THEME_VERSION}.tar.gz" && \
+0 −8
Original line number Diff line number Diff line
--- ./apps/dav/templates/schedule-response-error.php	2022-09-06 21:39:44.185827300 +0530
+++ ./apps/dav/templates/schedule-response-error-new.php	2022-09-15 10:56:15.917350600 +0530
@@ -1,4 +1,4 @@
-<div class="update">
+<div class="error">
 	<p class="message"><?php p($l->t('There was an error updating your attendance status.'));?></p>
 	<p class="message"><?php p($l->t('Please contact the organizer directly.'));?></p>
 	<?php if (isset($_['organizer'])): ?>