dropbox: fix makeWrapper usage
makeWrapper checks now if script is executable, so we have to chmod first.
This commit is contained in:
parent
48b2962550
commit
516ba12b6d
@ -96,10 +96,10 @@ in mkDerivation {
|
|||||||
|
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
RPATH="${ldpath}:$out/${appdir}"
|
RPATH="${ldpath}:$out/${appdir}"
|
||||||
|
chmod 755 $out/${appdir}/dropbox
|
||||||
makeWrapper "$out/${appdir}/dropbox" "$out/bin/dropbox" \
|
makeWrapper "$out/${appdir}/dropbox" "$out/bin/dropbox" \
|
||||||
--prefix LD_LIBRARY_PATH : "$RPATH"
|
--prefix LD_LIBRARY_PATH : "$RPATH"
|
||||||
|
|
||||||
chmod 755 $out/${appdir}/dropbox
|
|
||||||
|
|
||||||
rm $out/${appdir}/wmctrl
|
rm $out/${appdir}/wmctrl
|
||||||
ln -s ${wmctrl}/bin/wmctrl $out/${appdir}/wmctrl
|
ln -s ${wmctrl}/bin/wmctrl $out/${appdir}/wmctrl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user