mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-08 11:52:32 +01:00
install-fixup
This commit is contained in:
parent
01311ad238
commit
167163788c
@ -1,7 +1,7 @@
|
|||||||
load common
|
load common
|
||||||
|
|
||||||
begin_mysql() {
|
begin_mysql() {
|
||||||
install_pkgs install default-mysql-server
|
install_pkgs default-mysql-server
|
||||||
systemctl is-active mysql || systemctl start mysql
|
systemctl is-active mysql || systemctl start mysql
|
||||||
zcat "${BATS_TEST_DIRNAME}/samples/bntest_p8Cz8k.sql.gz" | mysql --defaults-file=/etc/mysql/debian.cnf
|
zcat "${BATS_TEST_DIRNAME}/samples/bntest_p8Cz8k.sql.gz" | mysql --defaults-file=/etc/mysql/debian.cnf
|
||||||
zcat "${BATS_TEST_DIRNAME}/samples/bntest_v11vJj.sql.gz" | mysql --defaults-file=/etc/mysql/debian.cnf
|
zcat "${BATS_TEST_DIRNAME}/samples/bntest_v11vJj.sql.gz" | mysql --defaults-file=/etc/mysql/debian.cnf
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
load common
|
load common
|
||||||
|
|
||||||
begin_rdiff() {
|
begin_rdiff() {
|
||||||
install_pkgs install debootstrap rdiff-backup cstream
|
install_pkgs debootstrap rdiff-backup cstream
|
||||||
if [ ! -d /var/cache/bntest ]; then
|
if [ ! -d /var/cache/bntest ]; then
|
||||||
debootstrap --variant=minbase testing /var/cache/bntest
|
debootstrap --variant=minbase testing /var/cache/bntest
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user