فهرست منبع

* alternative addition
* fpc binary+manpage

peter 25 سال پیش
والد
کامیت
4cb0e9c4b7
3فایلهای تغییر یافته به همراه22 افزوده شده و 4 حذف شده
  1. 13 4
      install/debian/changelog
  2. 2 0
      install/debian/fp-compiler.files.in
  3. 7 0
      install/debian/fp-compiler.postinst.in

+ 13 - 4
install/debian/changelog

@@ -1,8 +1,17 @@
-fpc (1.0.2-0) unstable; urgency=low
-  
-  * New Upstream Release
+fpc (1.0.3-0) unstable; urgency=low
+
+  * Snapshot release
+
+ -- Peter Vreman <[email protected]>  Sat, 18 Nov 2000 12:00:00 +0200
+
+fpc (1.0.2-1) unstable; urgency=low
+
+  * New upstream version.
+  * Maintainer field changed.
+  * Bug#60720 had already been fixed in the development tree some
+    time ago after the last upload (hence, this Closes: #60720).
 
- -- Peter Vreman <[email protected]>  Tue, 10 Oct 2000 12:00:00 +0200
+ -- Ulf Jaenicke-Roessler <[email protected]>  Fri, 13 Oct 2000 13:11:34 +0200
 
 fpc (1.0.1-0.20000811.1) unstable; urgency=low
 

+ 2 - 0
install/debian/fp-compiler.files.in

@@ -1,7 +1,9 @@
 /etc/ppc386.cfg
+/usr/bin/fpc
 /usr/lib/fpc/%{fpcversion}/ppc386
 /usr/lib/fpc/%{fpcversion}/samplecfg
 /usr/lib/fpc/%{fpcversion}/msg
 /usr/share/doc/fp-compiler
+/usr/share/man/man1/fpc.1
 /usr/share/man/man1/ppc386.1
 /usr/share/man/man5/ppc386.cfg.5

+ 7 - 0
install/debian/fp-compiler.postinst.in

@@ -1,7 +1,14 @@
 #! /bin/sh
 
+set -e
+
 FPCDIR=/usr/lib/fpc/%{fpcversion}
 
+# add alternative
+update-alternatives \
+    --install /usr/bin/pc pc /usr/bin/fpc 20 \
+    --slave /usr/share/man/man1/fpc.1.gz fpc.1.gz /usr/share/man/man1/fpc.1.gz
+
 # create link
 ln -sf $FPCDIR/ppc386 /usr/bin/ppc386