aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJason Woodward2004-09-24 01:09:04 +0000
committerJason Woodward2004-09-24 01:09:04 +0000
commit6accae3519cc8f3ae4ae2e05245bb0db934287ab (patch)
treea14fb979bfe65027c07c37b8d95a66b1b3d9535a /Makefile
parente57f5959a5e26de01d821439276064e267870e5a (diff)
downloadslapt-get-6accae3519cc8f3ae4ae2e05245bb0db934287ab.tar.gz
updated doinst.sh so that it doesn't try to do an in place file edit with sed as Slackware 8.1's sed doesn't support -i. Thanks to Peter Santoro.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ccd2739..2454aaf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
PROGRAM_NAME=slapt-get
-VERSION=0.9.9b
+VERSION=0.9.9c
ARCH=i386
RELEASE=1
CC=gcc
@@ -96,7 +96,7 @@ dopkg:
@cat example.slapt-getrc |grep -v '^#'|grep -v '^$$' >> ./pkg/etc/slapt-get/slapt-getrc.new
@mkdir -p ./pkg/usr/doc/$(PROGRAM_NAME)-$(VERSION)/
@cp example.slapt-getrc COPYING Changelog INSTALL README FAQ TODO ./pkg/usr/doc/$(PROGRAM_NAME)-$(VERSION)/
- @echo "if [ ! -d etc/slapt-get ]; then mkdir -p etc/slapt-get;fi; if [ -f etc/slapt-getrc -a ! -f etc/slapt-get/slapt-getrc ]; then mv etc/slapt-getrc etc/slapt-get/slapt-getrc;fi; if [ ! -f etc/slapt-get/slapt-getrc ]; then mv etc/slapt-get/slapt-getrc.new etc/slapt-get/slapt-getrc; else sed -i -re 's/(See \/usr\/doc\/slapt\-get\-).*(\/example\.slapt\-getrc)/\1$(VERSION)\2/' /etc/slapt-get/slapt-getrc; diff -q etc/slapt-get/slapt-getrc etc/slapt-get/slapt-getrc.new >/dev/null 2>&1 && rm etc/slapt-get/slapt-getrc.new; fi;" > pkg/install/doinst.sh
+ @echo "if [ ! -d etc/slapt-get ]; then mkdir -p etc/slapt-get; fi; if [ -f etc/slapt-getrc -a ! -f etc/slapt-get/slapt-getrc ]; then mv etc/slapt-getrc etc/slapt-get/slapt-getrc; fi; if [ ! -f etc/slapt-get/slapt-getrc ]; then mv etc/slapt-get/slapt-getrc.new etc/slapt-get/slapt-getrc; else sed -re 's/(See \/usr\/doc\/slapt\-get\-).*(\/example\.slapt\-getrc)/\1$(VERSION)\2/' /etc/slapt-get/slapt-getrc > /tmp/tmp_slapt-getrc_tmp; cat /tmp/tmp_slapt-getrc_tmp > /etc/slapt-get/slapt-getrc; rm /tmp/tmp_slapt-getrc_tmp; diff -q etc/slapt-get/slapt-getrc etc/slapt-get/slapt-getrc.new >/dev/null 2>&1 && rm etc/slapt-get/slapt-getrc.new; fi;" > pkg/install/doinst.sh
@cp slack-desc pkg/install/
@cp slack-required pkg/install/
@cp $(PROGRAM_NAME).8 pkg/usr/man/man8/