2015-10-16 20:04:57 +01:00
|
|
|
Description: Install files to temporary directory for packaging
|
|
|
|
Author: Dave Hibberd <d@vehibberd.com>
|
2018-12-27 16:20:56 +00:00
|
|
|
Last-Update: 2018-12-27
|
2015-10-16 20:04:57 +01:00
|
|
|
|
2018-02-10 19:40:02 +00:00
|
|
|
--- a/configure
|
|
|
|
+++ b/configure
|
2020-03-24 20:59:16 +00:00
|
|
|
@@ -1,5 +1,11 @@
|
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
+echo -n "Use interactive mode? [Y/n]: "; read answer
|
|
|
|
+if [ "$answer" = "Y" -o "$answer" = "y" -o "$answer" = "" ]
|
|
|
|
+ then NON_INTERACTIVE=0;
|
|
|
|
+ else NON_INTERACTIVE=1;
|
|
|
|
+fi
|
|
|
|
+
|
|
|
|
_sleep()
|
|
|
|
{
|
|
|
|
[ "$NON_INTERACTIVE" = 1 ] || sleep "$@"
|
|
|
|
@@ -14,13 +20,13 @@
|
|
|
|
_sleep 2
|
|
|
|
make distclean > make.debug
|
|
|
|
|
|
|
|
-[ "$ETC_DIR" ] || ETC_DIR=/etc/ax25
|
|
|
|
-[ "$SBIN_DIR" ] || SBIN_DIR=/usr/sbin
|
|
|
|
-[ "$BIN_DIR" ] || BIN_DIR=/usr/bin
|
|
|
|
-[ "$LIB_DIR" ] || LIB_DIR=/usr/lib
|
|
|
|
-[ "$DATA_DIR" ] || DATA_DIR=/usr/share
|
|
|
|
-[ "$MAN_DIR" ] || MAN_DIR=/usr/share/man
|
2018-02-10 19:40:02 +00:00
|
|
|
-[ "$VAR_DIR" ] || VAR_DIR=/var/lib/ax25
|
2020-03-24 20:59:16 +00:00
|
|
|
+[ "$ETC_DIR" ] || ETC_DIR=/usr/local/etc/ax25
|
|
|
|
+[ "$SBIN_DIR" ] || SBIN_DIR=/usr/local/sbin
|
|
|
|
+[ "$BIN_DIR" ] || BIN_DIR=/usr/local/bin
|
|
|
|
+[ "$LIB_DIR" ] || LIB_DIR=/usr/local/lib
|
|
|
|
+[ "$DATA_DIR" ] || DATA_DIR=/usr/local/share
|
|
|
|
+[ "$MAN_DIR" ] || MAN_DIR=/usr/local/share/man
|
|
|
|
+[ "$VAR_DIR" ] || VAR_DIR=/usr/local/var/ax25
|
2018-02-10 19:40:02 +00:00
|
|
|
|
|
|
|
echo "Welcome to the configuration utility for URONode. This configure script"
|
|
|
|
echo "will very simply and easily guide you into installling URONode with as"
|