Commit 17c8c0e3 authored by Natanael Copa's avatar Natanael Copa

fixed VERSION in makefile and massed up .in files

parent ec0c7a74
...@@ -48,7 +48,7 @@ WWW="http://alpinelinux.org/alpine-conf" ...@@ -48,7 +48,7 @@ WWW="http://alpinelinux.org/alpine-conf"
SED := sed SED := sed
TAR := tar TAR := tar
SED_REPLACE := -i -e 's:@VERSION@:$(VERSION):g' \ SED_REPLACE := -e 's:@VERSION@:$(VERSION):g' \
-e 's:@PREFIX@:$(PREFIX):g' -e 's:@PREFIX@:$(PREFIX):g'
.SUFFIXES: .sh.in .in .SUFFIXES: .sh.in .in
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# bootstrap an alpine installation # bootstrap an alpine installation
VERSION=2.0_alpha7 VERSION=@VERSION@
usage() { usage() {
echo "usage: $(basename $0) TARGETDIR" echo "usage: $(basename $0) TARGETDIR"
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
# Copyright (c) 2006 Natanael Copa # Copyright (c) 2006 Natanael Copa
# May be distributed under GPL2 # May be distributed under GPL2
VERSION=2.0_alpha7 VERSION=@VERSION@
sysconfdir=@sysconfdir@ sysconfdir=@sysconfdir@
if [ ! -f ${libalpine:="./libalpine.sh"} ]; then if [ ! -f ${libalpine:="./libalpine.sh"} ]; then
...@@ -491,6 +491,18 @@ Options: ...@@ -491,6 +491,18 @@ Options:
exit 1 exit 1
} }
cmd_status() {
if [ -n "$USE_DEFAULT" ]; then
apk audit --backup
return 0
fi
# unpack old apkovl to tmpdir/a
# generate new apkovl and extract to tmpdir/b
# show files that exists in a but not in b as deleted
# compare files in b with files in a
# cleanup
}
#----------------------------------------------------------- #-----------------------------------------------------------
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
# * suggest DC server(s) based on # * suggest DC server(s) based on
# $(dig _kerberos._tcp.dc._msdcs.$DOMAIN SRV +short) # $(dig _kerberos._tcp.dc._msdcs.$DOMAIN SRV +short)
VERSION=2.0_alpha7 VERSION=@VERSION@
PROGRAM=setup-ads PROGRAM=setup-ads
. $PREFIX/lib/libalpine.sh . $PREFIX/lib/libalpine.sh
......
#!/bin/sh #!/bin/sh
PROGRAM=setup-alpine PROGRAM=setup-alpine
VERSION=2.0_alpha7 VERSION=@VERSION@
PREFIX= PREFIX=
. $PREFIX/lib/libalpine.sh . $PREFIX/lib/libalpine.sh
......
#!/bin/sh #!/bin/sh
PROGRAM=setup-acf PROGRAM=setup-acf
VERSION=2.0_alpha7 VERSION=@VERSION@
PREFIX= PREFIX=
. $PREFIX/lib/libalpine.sh . $PREFIX/lib/libalpine.sh
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment