db: do not write to dbscripts after installation

Writing to /usr is not allowed not via package manager.

Change-Id: Ic7e9f477c94047176ab5c4406cea1275af68376d
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>