diff --git a/packages/mariadb/build.sh b/packages/mariadb/build.sh index c2483d773..8f2bd40a4 100644 --- a/packages/mariadb/build.sh +++ b/packages/mariadb/build.sh @@ -89,7 +89,7 @@ termux_step_create_debscripts() { echo "if [ ! -e "$TERMUX_PREFIX/var/lib/mysql" ]; then" > postinst echo " echo 'Initializing mysql data directory...'" >> postinst echo " mkdir -p $TERMUX_PREFIX/var/lib/mysql" >> postinst - echo " $TERMUX_PREFIX/bin/mysql_install_db --user=$(whoami) --datadir=$TERMUX_PREFIX/var/lib/mysql --basedir=$TERMUX_PREFIX" >> postinst + echo " $TERMUX_PREFIX/bin/mysql_install_db --user=\$(whoami) --datadir=$TERMUX_PREFIX/var/lib/mysql --basedir=$TERMUX_PREFIX" >> postinst echo "fi" >> postinst echo "exit 0" >> postinst chmod 0755 postinst