11 lines
135 B
Bash
Executable File
11 lines
135 B
Bash
Executable File
#!/bin/sh
|
|
|
|
DBG=echo
|
|
|
|
rpm=${rpm:=rpm}
|
|
destdir="`pwd`"
|
|
destdir="`dirname $destdir`"
|
|
|
|
rm -rf $destdir/var/lib/rpm/*
|
|
${DBGX} $rpm --initdb
|