Comment 4 for bug 791225

Revision history for this message
Michael Peters (mrpeters) wrote :

As far as I can tell, these are the potential "*_custom.css" files that should be touched, if not already existent.

Open-ILS/web/css/skin/default/register_custom.css
Open-ILS/xul/staff_client/build/server/skin/global_custom.css
Open-ILS/xul/staff_client/build/server/skin/simple_auth_custom.css
Open-ILS/xul/staff_client/build/server/skin/cat_custom.css
Open-ILS/xul/staff_client/build/server/skin/patron_display_custom.css
Open-ILS/xul/staff_client/build/server/skin/patron_summary_custom.css
Open-ILS/xul/staff_client/build/server/skin/circ_custom.css

Maybe a little bash script that runs after installation and symlinking the current build to "server" this would suffice?

#!/bin/bash

customfiles=(
           /openils/var/web/css/skin/default/register_custom.css
           /openils/var/web/xul/server/skin/global_custom.css
           /openils/var/web/xul/server/skin/simple_auth_custom.css
           /openils/var/web/xul/server/skin/cat_custom.css
           /openils/var/web/xul/server/skin/patron_display_custom.css
           /openils/var/web/xul/server/skin/patron_summary_custom.css
           /openils/var/web/xul/server/skin/circ_custom.css
           )

for file in "${customfiles[@]}" ; do

if [[ -e $customfiles ]]
    then /bin/echo "$customfiles already exists, will not make any changes"
    else /usr/bin/touch $customfiles
fi
done
exit 0