Skip to content

Commit bf184c8

Browse files
authored
Fix secrets python bin patch
1 parent 65c5fa6 commit bf184c8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

make-appimage.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ quick-sharun /usr/bin/secrets \
2323
/usr/lib/libgirepository*
2424

2525
# Patch secrets to use AppImage's directory
26-
sed -i '/const.PKGDATADIR/c\os.getenv("SHARUN_DIR"), "share"' ./AppDir/bin/secrets
27-
sed -i '/const.LOCALEDIR/c\os.getenv("SHARUN_DIR"), "share", "locale"' ./AppDir/bin/secrets
26+
sed -i 's|const.PKGDATADIR|os.getenv("SHARUN_DIR"), "share"|' ./AppDir/bin/secrets
27+
sed -i 's|const.LOCALEDIR|os.getenv("SHARUN_DIR"), "share" "locale"|' ./AppDir/bin/secrets
2828

2929
# Turn AppDir into AppImage
3030
quick-sharun --make-appimage

0 commit comments

Comments
 (0)