|
Lines 189-194
EOF
Link Here
|
| 189 |
fi |
189 |
fi |
| 190 |
done |
190 |
done |
| 191 |
|
191 |
|
|
|
192 |
for site in $(koha-list); do |
| 193 |
kohaconfig="/etc/koha/sites/$site/koha-conf.xml" |
| 194 |
logdir="$( xmlstarlet sel -t -v 'yazgfs/config/logdir' $kohaconfig )" |
| 195 |
if [ "$logdir" != "" ] && [ "$logdir" != "0" ]; then |
| 196 |
chown -R $site-koha:$site-koha $logdir |
| 197 |
else |
| 198 |
chown -R $site-koha:$site-koha /var/log/koha/$site |
| 199 |
fi |
| 200 |
done |
| 201 |
|
| 192 |
# Bug 14106 - fix the modulePath of existing koha instances so that it'll |
202 |
# Bug 14106 - fix the modulePath of existing koha instances so that it'll |
| 193 |
# continue to work. This will only patch the files if the exact original string |
203 |
# continue to work. This will only patch the files if the exact original string |
| 194 |
# that we're fixing them from is there, so we just run it every time. Maybe |
204 |
# that we're fixing them from is there, so we just run it every time. Maybe |
| 195 |
- |
|
|