Jan
17
For working with my MySQL database on Ubuntu, I’m using HeidiSQL under Wine.
Each day, HeidiSQL publishs a Nightly Build, which I wanted to have.
Therefore I wrote a little shell-script, which makes that work for me.
#!/bin/bash path=/home/mattesd/.wine/drive_c/prog/HeidiSQL abs_filename=$path/heidisql.`date +%s`.exe wget http://www.heidisql.com/latest_build.php -O $abs_filename rm $path/heidisql.exe ln -s $abs_filename $path/heidisql.exe
Each build will be downloaded as heidisql.<TIMESTAMP>.exe (e. g. heidisql.1263728741.exe) and linked to heidisql.exe.
Note:
I created the softlink prog before.
ln -s home/mattesd/.wine/drive_c/Program\ Files home/mattesd/.wine/drive_c/prog