Commit e35ad3ea authored by Joost van Baal-Ilić's avatar Joost van Baal-Ilić

build-publicfile bugfix, wip

parent a6dcfddb
publicfile-installer (0.11) publicfile-installer (0.11)
* UNRELEASED * UNRELEASED
* FIXME TODO: it does not work when offline; crappy errors,
* build-publicfile: more robust: deal with missing/undefined
$DIFFDIR/$DIFFFILE and/or $DIFFDIR/$DSCFILE FIXME TODO WIP.
FIXME TODO: it does not work when offline; crappy errors,
+ install_publicfile=sudo dpkg -i /publicfile_0.52-7*.deb + install_publicfile=sudo dpkg -i /publicfile_0.52-7*.deb
Do you want to install the publicfile package now? [Yn] + read response Do you want to install the publicfile package now? [Yn] + read response
n n
OK, you can run sudo dpkg -i /publicfile_0.52-7*.deb later. OK, you can run sudo dpkg -i /publicfile_0.52-7*.deb later.
* Makefile: bump version. * Makefile: bump version.
* Makefile: no longer symlink but copy GNU General Public License Version 3. * Makefile: no longer symlink but copy GNU General Public License Version 3.
* Makefile, build-publicfile, publicfile-installer.1: no longer ship * Makefile, build-publicfile, publicfile-installer.1: no longer ship
......
...@@ -55,8 +55,24 @@ else ...@@ -55,8 +55,24 @@ else
BUILDDIR=`mktemp -d` || exit 1 BUILDDIR=`mktemp -d` || exit 1
cd $BUILDDIR cd $BUILDDIR
cp $TARDIR/$TARFILE . cp $TARDIR/$TARFILE .
cp $DIFFDIR/$DIFFFILE .
cp $DIFFDIR/$DSCFILE . if test -d "$DIFFDIR"
then
if test -f "$DIFFDIR/$DIFFFILE" -a -f "$DIFFDIR/$DSCFILE"
then
cp $DIFFDIR/$DIFFFILE .
cp $DIFFDIR/$DSCFILE .
else
echo "File '$DIFFFILE' and/or '$DSCFILE' not found in directory '$DIFFDIR'."
echo "Please run get-publicfile to fetch sources."
exit 1
fi
else
echo "File '$DIFFFILE' and/or '$DSCFILE' not found in directory '$DIFFDIR'."
TODO FIXME DOE IETS ZINVOLS HIER
fi
echo "Preparing build of $DEBFILE in $BUILDDIR..." echo "Preparing build of $DEBFILE in $BUILDDIR..."
......
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