fix path in wrapper

This commit is contained in:
Tigro 2014-05-14 20:02:00 +04:00
parent b7d9e164db
commit ac472334d2

View file

@ -104,7 +104,7 @@ fi
# Detect if PepperFlash has been installed (based on the package in packman)
# If so, automatically enable it
if [ -f @LIBDIR@/chromium/PepperFlash/libpepflashplayer.so ]; then
if [ -f @LIBDIR@/chromium-browser/PepperFlash/libpepflashplayer.so ]; then
PEPPER_FLASH_VERSION=$(grep '"version":' @LIBDIR@/chromium-browser/PepperFlash/manifest.json| grep -Po '(?<=version": ")(?:\d|\.)*')
PEPPERFLASH="--ppapi-flash-path=@LIBDIR@/chromium-browser/PepperFlash/libpepflashplayer.so --ppapi-flash-version=$PEPPER_FLASH_VERSION"
fi