maintenance of the wine scripts

master
Ismael Barros 2014-02-08 14:42:36 +01:00
parent 6abe0e3c0e
commit 4c6897f868
2 changed files with 6 additions and 6 deletions

View File

@ -58,7 +58,7 @@ done
cd "$WINEPREFIX"
if [ $CONF ]; then
run_withLocalLibs $APPDIR/usr/bin/winecfg $@
run_withLocalLibs "$APPDIR/usr/bin/winecfg" $@
else
run_withLocalLibs $APPDIR/usr/bin/wine "$APPDIR/$BINARY" $BINARY_ARGS $@
run_withLocalLibs "$APPDIR/usr/bin/wine" "$APPDIR/$BINARY" $BINARY_ARGS $@
fi

View File

@ -25,14 +25,14 @@ for i in $@; do
esac
done
cp -v "$pg4l_dir/AppRun_wine" AppRun || exit 1
cp "$pg4l_dir/util.sh" . || exit 1
cp -v "$pg4l_dir/data/AppRun_wine" AppRun || exit 1
cp "$pg4l_dir/data/util.sh" . || exit 1
for i in AppRun.desktop AppRun.png; do
{ [ -f "$i" ] || cp -v "$pg4l_dir"/"$i" "$i"; } || exit 1
{ [ -f "$i" ] || cp -v "$pg4l_dir/data/$i" "$i"; } || exit 1
done
if [ "$package" ]; then
sed -e "s|_WINEPREFIX_|~/.local/share/AppImage/${package}_wine|g" AppRun -i
sed -e "s|_WINEPREFIX_|\"\$HOME/.local/share/AppImage/${package}_wine\"|g" AppRun -i
fi
if [ "$bin" ]; then