@@ -242,10 +242,8 @@ RUN sed -i 's/$context->registerAlternativeLogin(OIDCLoginOption::class);/\/\/$c
#Hide Archive/Unarchive feature in memories app
RUN sed-i's/{name:(0,O.Iu)("memories","Archive"),icon:Yo,callback:this.archiveSelection.bind(this),if:()=>!this.routeIsArchiveFolder()&&!this.routeIsAlbums},{name:(0,O.Iu)("memories","Unarchive"),icon:Ko,callback:this.archiveSelection.bind(this),if:()=>this.routeIsArchiveFolder()},//g'${BASE_DIR}/custom_apps/memories/js/memories-main.js
RUN sed-i's/{name:"archive",icon:Yo,title:(0,O.Iu)("memories","Archive")},//g'${BASE_DIR}/custom_apps/memories/js/memories-main.js
# Rename Memories to Gallery
#RUN sed -i 's/<name>Memories<\/name>/<name>Gallery<\/name>/g' ${BASE_DIR}/custom_apps/memories/appinfo/info.xml
RUN grep-q"<name>Memories<\/name>"${BASE_DIR}/custom_apps/memories/appinfo/info.xml &&sed-i's/<name>Memories<\/name>/<name>Gallery<\/name>/g'${BASE_DIR}/custom_apps/memories/appinfo/info.xml ||{echo"Pattern not found!";exit 1;}
RUN sed-i's/<name>Memories<\/name>/<name>Gallery<\/name>/g'${BASE_DIR}/custom_apps/memories/appinfo/info.xml
RUN cd${BASE_DIR}/custom_apps/memories/js &&sed-i's/Memories has been/Gallery has been/g' memories-main.js &&sed-i's/Memories has been/Gallery has been/g' memories-admin.js
RUN cd${BASE_DIR}/custom_apps/memories/js &&sed-i's/Memories Settings/Gallery Settings/g' memories-main.js