diff options
-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 ] |