From: <abe...@us...> - 2013-09-05 23:56:20
|
Revision: 6186 http://sourceforge.net/p/astlinux/code/6186 Author: abelbeck Date: 2013-09-05 23:56:17 +0000 (Thu, 05 Sep 2013) Log Message: ----------- web interface, exclude 'packages' and 'locale' files - in addition to 'sounds' and 'moh' previously, from asturw backups Modified Paths: -------------- branches/1.0/package/webinterface/altweb/admin/system.php Modified: branches/1.0/package/webinterface/altweb/admin/system.php =================================================================== --- branches/1.0/package/webinterface/altweb/admin/system.php 2013-09-03 15:36:20 UTC (rev 6185) +++ branches/1.0/package/webinterface/altweb/admin/system.php 2013-09-05 23:56:17 UTC (rev 6186) @@ -213,6 +213,8 @@ $excludecmd = 'find /oldroot/mnt/asturw/ -type f | sed -e "s:^/oldroot/mnt/asturw/::" | sed -n'; $excludecmd .= ' -e "s:^stat/var/lib/asterisk/sounds/.*$:&:p"'; $excludecmd .= ' -e "s:^stat/var/lib/asterisk/moh/.*$:&:p"'; + $excludecmd .= ' -e "s:^stat/var/packages/.*$:&:p"'; + $excludecmd .= ' -e "s:^usr/lib/locale/.*$:&:p"'; shell($excludecmd.' >'.$excludefile.' 2>/dev/null', $status); shell($tarcmd.$asturw.' -X '.$excludefile.' $(ls -1 /oldroot/mnt/asturw/ | sed -e "s/^mnt$//") -C /oldroot/mnt/asturw >/dev/null 2>/dev/null', $status); @unlink($excludefile); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |