[Lunar-commits] <moonbase> makeself: use standard filenames
Paul Bredbury
brebs at lunar-linux.org
Wed Jan 12 11:15:50 CET 2011
commit 3087d5663606da211fa11c07ba53acdd6dc4e4e9
Author: Paul Bredbury <brebs at lunar-linux.org>
Date: Wed Jan 12 17:15:50 2011 +0700
makeself: use standard filenames
For e.g. VirtualBox 4.
---
archive/makeself/BUILD | 7 +++++++
archive/makeself/DETAILS | 2 +-
archive/makeself/PRE_BUILD | 6 +++++-
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/archive/makeself/BUILD b/archive/makeself/BUILD
index 023da70..73fa7da 100644
--- a/archive/makeself/BUILD
+++ b/archive/makeself/BUILD
@@ -9,5 +9,12 @@
install -m 0644 makeself.lsm /usr/share/doc/makeself &&
install -m 0644 makeself.1.gz /usr/man/man1
+ pushd . &&
+ cd /usr/bin &&
+ # To be recognized by VirtualBox 4.
+ # These .sh extensions should eventually be removed from /usr/bin/
+ ln -sfn makeself.sh makeself &&
+ ln -sfn makeself-header.sh makeself-header &&
+ popd
) > $C_FIFO 2>&1
diff --git a/archive/makeself/DETAILS b/archive/makeself/DETAILS
index 4c5d53a..5bf488d 100644
--- a/archive/makeself/DETAILS
+++ b/archive/makeself/DETAILS
@@ -5,7 +5,7 @@
SOURCE_VFY=sha1:803ca42ea64e51af72a4ee50b4d8f7a6107c926d
WEB_SITE=http://www.megastep.org/makeself/
ENTERED=20040520
- UPDATED=20100711
+ UPDATED=20110110
SHORT="Make self-extractable archives"
cat << EOF
makeself.sh is a small shell script that generates a self-extractable
diff --git a/archive/makeself/PRE_BUILD b/archive/makeself/PRE_BUILD
index 1e1caed..70f40e6 100644
--- a/archive/makeself/PRE_BUILD
+++ b/archive/makeself/PRE_BUILD
@@ -2,7 +2,11 @@
cd $BUILD_DIRECTORY &&
- sh $SOURCE_CACHE/$SOURCE
+ # Don't wait for user to press a key
+ cp $SOURCE_CACHE/$SOURCE . &&
+ sedit "s:; read junk::1" $SOURCE &&
+
+ sh $SOURCE
)
More information about the Lunar-commits
mailing list