Fix: upgrade fails when /var/lib/mysql is a soft link (#792918)
Fix: upgrade fails when /var/lib/mysql is a soft link (#792918)

The preinst script tries to copy the soft link under
/var/lib/mysql-upgrade/DATADIR.link. However, when the target link
exists from a previous upgrade, cp treats it as a target directory
rather than a target file name.
The -T flag tells cp to never treat the target as a directory.

ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0,ottok/mariadb-10.0