Changeset: 1b4dbcb4de2e for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=1b4dbcb4de2e
Modified Files:
MonetDB.spec
Branch: Aug2018
Log Message:
Removed ancient (2011) code to move database directory.
diffs (22 lines):
diff --git a/MonetDB.spec b/MonetDB.spec
--- a/MonetDB.spec
+++ b/MonetDB.spec
@@ -591,18 +591,6 @@ getent passwd monetdb >/dev/null || \
-c "MonetDB Server" monetdb
exit 0
-%post -n MonetDB5-server
-# move database from old location to new location
-if [ -d %{_localstatedir}/MonetDB5/dbfarm -a !
%{_localstatedir}/MonetDB5/dbfarm -ef %{_localstatedir}/monetdb5/dbfarm ]; then
- # old database exists and is different from new
- if [ $(find %{_localstatedir}/monetdb5 -print | wc -l) -le 2 ]; then
- # new database is still empty
- rmdir %{_localstatedir}/monetdb5/dbfarm
- rmdir %{_localstatedir}/monetdb5
- mv %{_localstatedir}/MonetDB5 %{_localstatedir}/monetdb5
- fi
-fi
-
%files -n MonetDB5-server
%defattr(-,root,root)
%attr(750,monetdb,monetdb) %dir %{_localstatedir}/MonetDB
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list