diff options
author | Gustavo Homem <gustavo@angulosolido.pt> | 2013-03-20 21:41:56 +0000 |
---|---|---|
committer | Gustavo Homem <gustavo@angulosolido.pt> | 2013-03-20 21:41:56 +0000 |
commit | ec7d8680084c794357d0786767eda903d9c19e26 (patch) | |
tree | cde15134f5b7ca49118fee1d61877a9d563a915f /xorg/debuild | |
parent | 9239b6e87ded6af7aafa4c82e270ba130f830620 (diff) | |
download | xrdp-proprietary-ec7d8680084c794357d0786767eda903d9c19e26.tar.gz xrdp-proprietary-ec7d8680084c794357d0786767eda903d9c19e26.zip |
improve packaging for X11RDP
Diffstat (limited to 'xorg/debuild')
-rwxr-xr-x | xorg/debuild/debX11rdp.sh | 5 | ||||
-rwxr-xr-x | xorg/debuild/x11rdp-files/DEBIAN/postinst | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/xorg/debuild/debX11rdp.sh b/xorg/debuild/debX11rdp.sh index 3e713926..dd80cbe9 100755 --- a/xorg/debuild/debX11rdp.sh +++ b/xorg/debuild/debX11rdp.sh @@ -12,7 +12,8 @@ DESTDIR=$PACKDIR/opt NAME=x11rdp sed -i -e "s/DUMMYVERINFO/$VERSION-$RELEASE/" $PACKDIR/DEBIAN/control -sed -i -e "s/DUMMYDIRINFO/$SRCDIR/" $PACKDIR/DEBIAN/postinst +# need a different delimiter, since it has a path +sed -i -e "s,DUMMYDIRINFO,$SRCDIR," $PACKDIR/DEBIAN/postinst mkdir -p $DESTDIR cp -Rf $SRCDIR $DESTDIR @@ -21,4 +22,4 @@ dpkg-deb --build $PACKDIR $PKGDEST/${NAME}_$VERSION-$RELEASE.deb # revert to initial state rm -rf $DESTDIR sed -i -e "s/$VERSION-$RELEASE/DUMMYVERINFO/" $PACKDIR/DEBIAN/control -sed -i -e "s/$SRCDIR/DUMMYDIRINFO/" $PACKDIR/DEBIAN/postinst +sed -i -e "s,$SRCDIR,DUMMYDIRINFO," $PACKDIR/DEBIAN/postinst diff --git a/xorg/debuild/x11rdp-files/DEBIAN/postinst b/xorg/debuild/x11rdp-files/DEBIAN/postinst index b44dc212..241103af 100755 --- a/xorg/debuild/x11rdp-files/DEBIAN/postinst +++ b/xorg/debuild/x11rdp-files/DEBIAN/postinst @@ -1,6 +1,6 @@ #!/bin/bash -X11DIR=/opt/X11rdp +X11DIR=DUMMYDIRINFO # make the /usr/bin/X11rdp symbolic link if it doesn't exist... if [ ! -e /usr/bin/X11rdp ] |