deepin.dde-calendar: fix use of patchShebangs
This commit is contained in:
parent
b08aff1999
commit
a1bf396127
@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
|
|||||||
qmake
|
qmake
|
||||||
qttools
|
qttools
|
||||||
deepin-gettext-tools
|
deepin-gettext-tools
|
||||||
|
deepin.setupHook
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -27,11 +28,14 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs .
|
searchHardCodedPaths
|
||||||
|
patchShebangs translate_generation.sh
|
||||||
|
patchShebangs translate_desktop.sh
|
||||||
|
|
||||||
|
fixPath $out /usr com.deepin.Calendar.service
|
||||||
|
|
||||||
sed -i translate_desktop.sh \
|
sed -i translate_desktop.sh \
|
||||||
-e "s,/usr/bin/deepin-desktop-ts-convert,deepin-desktop-ts-convert,"
|
-e "s,/usr/bin/deepin-desktop-ts-convert,deepin-desktop-ts-convert,"
|
||||||
sed -i com.deepin.Calendar.service \
|
|
||||||
-e "s,/usr,$out,"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru.updateScript = deepin.updateScript { inherit name; };
|
passthru.updateScript = deepin.updateScript { inherit name; };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user