deepin.dde-calendar: fix use of patchShebangs
This commit is contained in:
parent
b08aff1999
commit
a1bf396127
1 changed files with 7 additions and 3 deletions
|
@ -19,6 +19,7 @@ stdenv.mkDerivation rec {
|
|||
qmake
|
||||
qttools
|
||||
deepin-gettext-tools
|
||||
deepin.setupHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -27,11 +28,14 @@ stdenv.mkDerivation rec {
|
|||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs .
|
||||
searchHardCodedPaths
|
||||
patchShebangs translate_generation.sh
|
||||
patchShebangs translate_desktop.sh
|
||||
|
||||
fixPath $out /usr com.deepin.Calendar.service
|
||||
|
||||
sed -i translate_desktop.sh \
|
||||
-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; };
|
||||
|
|
Loading…
Reference in a new issue