packaging: db: made change to upgrade script to support el6

Change-Id: I38e4a02ea924852dff4b8b00a593d71e10356f5f
Signed-off-by: Yaniv Dary <ydary@redhat.com>