mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Adjusted installation scripts to take care of new CSS system
This commit is contained in:
parent
e7ba64e370
commit
fc8b35d9fb
8
Makefile
8
Makefile
@ -193,13 +193,7 @@ install: $(EXECS)
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
@echo "Installing themes to $(ELOGDIR)/themes"
|
@echo "Installing themes to $(ELOGDIR)/themes"
|
||||||
@$(INSTALL) -m 0644 themes/default/icons/* $(ELOGDIR)/themes/default/icons/
|
@$(INSTALL) -m 0644 themes/default/* $(ELOGDIR)/themes/default/
|
||||||
@for file in `find themes/default -type f` ;\
|
|
||||||
do \
|
|
||||||
if [ ! -f $(ELOGDIR)/themes/default/`basename $$file` ]; then \
|
|
||||||
$(INSTALL) -m 0644 $$file $(ELOGDIR)/themes/default/`basename $$file` ; \
|
|
||||||
fi; \
|
|
||||||
done
|
|
||||||
|
|
||||||
@echo "Installing example logbook to $(ELOGDIR)/logbooks/demo"
|
@echo "Installing example logbook to $(ELOGDIR)/logbooks/demo"
|
||||||
@if [ ! -f $(ELOGDIR)/logbooks/demo/2001 ]; then \
|
@if [ ! -f $(ELOGDIR)/logbooks/demo/2001 ]; then \
|
||||||
|
|||||||
17
elog.nsi
17
elog.nsi
@ -111,17 +111,12 @@ Section "ELOG system (required)" SecSystem
|
|||||||
|
|
||||||
; themes
|
; themes
|
||||||
SetOutPath $INSTDIR\themes\default
|
SetOutPath $INSTDIR\themes\default
|
||||||
|
File themes\default\*.css
|
||||||
IfFileExists $INSTDIR\themes\default\default.css 0 themesNotExist
|
File themes\default\*.png
|
||||||
MessageBox MB_YESNO|MB_ICONQUESTION "Would you like to overwrite your existing theme files?" IDNO themesNotOverwrite
|
File themes\default\*.ico
|
||||||
themesNotExist:
|
File themes\default\*.png
|
||||||
File themes\default\*.css
|
SetOutPath $INSTDIR\themes\default\icons
|
||||||
File themes\default\*.png
|
File themes\default\icons\*.*
|
||||||
File themes\default\*.ico
|
|
||||||
File themes\default\*.png
|
|
||||||
SetOutPath $INSTDIR\themes\default\icons
|
|
||||||
File themes\default\icons\*.*
|
|
||||||
themesNotOverwrite:
|
|
||||||
|
|
||||||
; demo logbook
|
; demo logbook
|
||||||
IfFileExists $INSTDIR\logbooks\demo\2001\011108a.log 0 logbNotExist
|
IfFileExists $INSTDIR\logbooks\demo\2001\011108a.log 0 logbNotExist
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user