From: Matthijs Kooijman Date: Thu, 1 Jan 2009 20:08:09 +0000 (+0100) Subject: mysql: Clean up vserver handling a bit. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=4215d06b05dbfef0adf053f67c7839b6ae343810;hp=4215d06b05dbfef0adf053f67c7839b6ae343810;p=matthijs%2Fupstream%2Fbackupninja-vserver.git mysql: Clean up vserver handling a bit. Use the same trick the ldap handler uses: Have two vars $vexec and $vdir, which are empty when running on the host and filled when running on a vserver. By prepending these vars at the right places, all of the explicit "if [ $use_vserver = yes ]" could be removed. ---