File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ TEST_FILES = test-status.js \
77
88DESTDIR ?=
99
10- PKGVERSION ?= 0.3
10+ PKGVERSION ?= 0.3.1
1111
1212# Where any app files are installed
1313RUNDIR = /usr/share/brewable
@@ -81,12 +81,13 @@ uninstall:
8181 rm $(DESTDIR ) /etc/init.d/brewable
8282 rm $(DESTDIR ) /usr/bin/brewable
8383
84- pkg : brewable default.conf rcbrewable
84+ pkg : brewable default.conf postinst rcbrewable
8585 rm -rf brewable-$(PKGVERSION ) ; mkdir -p brewable-$(PKGVERSION ) ;
8686 install -m 0755 brewable brewable-$(PKGVERSION )
8787 install -m 0755 default.conf brewable-$(PKGVERSION )
8888 install -m 0755 rcbrewable brewable-$(PKGVERSION )
8989 install -m 0755 Makefile brewable-$(PKGVERSION )
90+ install -m 0755 postinst brewable-$(PKGVERSION )
9091 tar cvf brewable-$(PKGVERSION ) -armv61-1.tar.gz brewable-$(PKGVERSION )
9192
9293
9697distclean : clean
9798 rm -rf node_modules brewable client server
9899
99- .PHONY :
100+ .PHONY : postinst
Original file line number Diff line number Diff line change 33NODEEXE=$( which node)
44BREWTEMPDIR=` mktemp -d /tmp/brewtemp.XXXXXX` || exit 1
55TARGET=$( pwd) /brewable
6+ VERSION=0.3.1
67
78echo ' ./node brewableserverbundle.js "$@"' > $BREWTEMPDIR /run.sh
89chmod a+x $BREWTEMPDIR /run.sh
910cp $NODEEXE $BREWTEMPDIR
1011cp -p build/js/brewable* .js $BREWTEMPDIR
11- makeself --noprogress --nox11 $BREWTEMPDIR $TARGET 0.3 ./run.sh
12+ makeself --noprogress --nox11 $BREWTEMPDIR $TARGET $VERSION ./run.sh
1213sed -i -e ' s/quiet="n"/quiet="y"/' \
1314 $TARGET
1415
Original file line number Diff line number Diff line change 88 "clean" : " rm -r build/*"
99 },
1010 "name" : " brewable" ,
11- "version" : " 0.3.0 " ,
11+ "version" : " 0.3.1 " ,
1212 "description" : " Nodejs version of brewable" ,
1313 "main" : " src/scripts/brewable.js" ,
1414 "devDependencies" : {
You can’t perform that action at this time.
0 commit comments