[med-svn] r6505 - trunk/packages/gbrowse/trunk/debian
Charles Plessy
plessy at alioth.debian.org
Sun Apr 10 11:05:11 UTC 2011
Author: plessy
Date: 2011-04-10 11:04:59 +0000 (Sun, 10 Apr 2011)
New Revision: 6505
Modified:
trunk/packages/gbrowse/trunk/debian/rules
Log:
Activate configuration files by suppressing their .new suffix.
Apparently GBrowse install configuration files with a .new suffix,
probably to protect local changes during upgrade, but in Debian we
have proper ways to take care of that.
Modified: trunk/packages/gbrowse/trunk/debian/rules
===================================================================
--- trunk/packages/gbrowse/trunk/debian/rules 2011-04-10 09:46:04 UTC (rev 6504)
+++ trunk/packages/gbrowse/trunk/debian/rules 2011-04-10 11:04:59 UTC (rev 6505)
@@ -34,9 +34,9 @@
cp debian/gbrowse/usr/share/gbrowse/databases/users.sqlite debian/gbrowse/usr/share/gbrowse/
rm -rf debian/gbrowse/usr/share/gbrowse/databases/*
mv debian/gbrowse/usr/share/gbrowse/users.sqlite debian/gbrowse/usr/share/gbrowse/databases/
-
+ # Activate configuration files.
+ find $(CURDIR)/debian/gbrowse/etc -name '*.new' | xargs rename 's/.new//'
-
override_dh_installman:
#Rename due to perl extension seen as polish
rename 's/\.pl\.1p/\.1p/' debian/gbrowse/man/man1/*.pl.1p
More information about the debian-med-commit
mailing list