summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Gołaszewski2009-09-09 08:12:46 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commite77136290a6829e85d5bc27e286ea16398f16dd6 (patch)
tree979f0d411473efeadd2ff1fbe46531e27ad06bea
parent5a4b775e14e64ecf2c1c7706fa85771052a3cf71 (diff)
downloadinn-e77136290a6829e85d5bc27e286ea16398f16dd6.zip
inn-e77136290a6829e85d5bc27e286ea16398f16dd6.tar.gz
- run innupgrade on package upgrade.
Changed files: TODO -> 1.1 inn.spec -> 1.192
-rw-r--r--TODO2
-rw-r--r--inn.spec3
2 files changed, 5 insertions, 0 deletions
diff --git a/TODO b/TODO
new file mode 100644
index 0000000..792f00e
--- /dev/null
+++ b/TODO
@@ -0,0 +1,2 @@
+# TODO:
+- upgrade to 2.5 series
diff --git a/inn.spec b/inn.spec
index b1dd878..c2a4056 100644
--- a/inn.spec
+++ b/inn.spec
@@ -358,6 +358,9 @@ if [ "`getent passwd news | cut -d: -f6`" = "/var/spool/news" ]; then
fi
umask 022
+
+%{_bindir}/innupgrade %{_sysconfdir}
+
cd /var/lib/news
if [ ! -f /var/lib/news/history ]; then
# makehistory fails on uninitialized spool(?) - create empty history in such case