summaryrefslogtreecommitdiff
path: root/source/ap/rpm/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/ap/rpm/doinst.sh')
-rw-r--r--source/ap/rpm/doinst.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/ap/rpm/doinst.sh b/source/ap/rpm/doinst.sh
new file mode 100644
index 00000000..8b00622b
--- /dev/null
+++ b/source/ap/rpm/doinst.sh
@@ -0,0 +1,5 @@
+if [ ! -r var/lib/rpm/Packages ]; then
+ ( cd var/lib/rpm/tmp ; cp -a * .. )
+fi
+( cd var/lib/rpm && rm -f tmp/* && rmdir tmp )
+# Symlinks: