Bug 26947: Correct path for chown and chmod
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
d6bf5dc965
commit
af90c4018d
1 changed files with 2 additions and 2 deletions
4
debian/scripts/koha-dump
vendored
4
debian/scripts/koha-dump
vendored
|
@ -80,8 +80,8 @@ dump_instance()
|
|||
[ "$quiet" = "no" ] && echo "* schema to $schemadump"
|
||||
mysqldump $dbflag -d --host="$mysqlhost" \
|
||||
--user="$mysqluser" --password="$mysqlpass" "$mysqldb" > "$schemadump"
|
||||
chown "root:$name-koha" "$dbdump"
|
||||
chmod g+r "$dbdump"
|
||||
chown "root:$name-koha" "$schemadump"
|
||||
chmod g+r "$schemadump"
|
||||
else
|
||||
[ "$quiet" = "no" ] && echo "* DB to $dbdump"
|
||||
mysqldump $dbflag --host="$mysqlhost" \
|
||||
|
|
Loading…
Reference in a new issue