Changeset 843
- Timestamp:
- 09/06/10 12:15:34 (17 months ago)
- Location:
- main/linuxmuster-base/tags/1.5.3.3
- Files:
-
- 3 edited
-
debian/changelog (modified) (1 diff)
-
debian/postinst (modified) (1 diff)
-
share/scripts/update-logins.sh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
main/linuxmuster-base/tags/1.5.3.3/debian/changelog
r818 r843 1 linuxmuster-base (1.5.3.3-etch9) etch; urgency=low 2 3 * update-logins.sh: fixed logins with id < 10000 (#204). 4 * postinst: fixing moodle's ldap host url (#284). 5 6 -- Thomas Schmitt <schmitt@lmz-bw.de> Mon, 6 Sep 2010 12:03:21 +0200 7 1 8 linuxmuster-base (1.5.3.3-etch8) etch; urgency=low 2 9 -
main/linuxmuster-base/tags/1.5.3.3/debian/postinst
r770 r843 515 515 516 516 # repairing moodle 517 if [ -e /etc/moodle/config.php ]; then 518 if ! grep -q "\$CFG->wwwroot = '/moodle';" /etc/moodle/config.php; then 519 cp /etc/moodle/config.php /etc/moodle/config.php.dpkg-old 520 sed -e "s/\$CFG->wwwroot =.*/\$CFG->wwwroot = \'\/moodle\';/g" -i /etc/moodle/config.php 521 fi 522 fi 523 if [ -d /usr/share/moodle ]; then 524 [[ -e /usr/share/moodle/moodle && ! -L /usr/share/moodle/moodle ]] && mv /usr/share/moodle/moodle /usr/share/moodle/moodle.dpkg-old 525 [ -L /usr/share/moodle/moodle ] || ln -s . /usr/share/moodle/moodle 517 if psql -U postgres -qtl | grep -q moodle; then 518 if [ -e /etc/moodle/config.php ]; then 519 if ! grep -q "\$CFG->wwwroot = '/moodle';" /etc/moodle/config.php; then 520 cp /etc/moodle/config.php /etc/moodle/config.php.dpkg-old 521 sed -e "s/\$CFG->wwwroot =.*/\$CFG->wwwroot = \'\/moodle\';/g" -i /etc/moodle/config.php 522 fi 523 fi 524 if [ -d /usr/share/moodle ]; then 525 [[ -e /usr/share/moodle/moodle && ! -L /usr/share/moodle/moodle ]] && mv /usr/share/moodle/moodle /usr/share/moodle/moodle.dpkg-old 526 [ -L /usr/share/moodle/moodle ] || ln -s . /usr/share/moodle/moodle 527 fi 528 # repairing ldap host url (#284) 529 hosturl="$(psql -U postgres -d moodle -qtc "SELECT value FROM mdl_config_plugins WHERE name = 'host_url'")" 530 if [ "$hosturl" != " ldap://localhost" ]; then 531 echo "Repairing moodle's ldap host url ..." 532 psql -U postgres -d moodle -qc "UPDATE mdl_config_plugins SET value = 'ldap://localhost' WHERE name = 'host_url';" 533 fi 526 534 fi 527 535 -
main/linuxmuster-base/tags/1.5.3.3/share/scripts/update-logins.sh
r810 r843 48 48 msg=false 49 49 # read smbstatus file and grep logins from it 50 grep ^[1-9]$status | while read line; do50 grep "!^\s*![1-9]" $status | while read line; do 51 51 machine="$(echo $line | awk '{ print $4 }')" 52 52 echo $hosts | grep -qw $machine || continue
Note: See TracChangeset
for help on using the changeset viewer.
