Sophie

Sophie

distrib > Mageia > 2 > i586 > by-pkgid > 060e80ed519bcfb72f050d540e8bd138 > scriptlet

flash-player-plugin-kde-11.2.202.291-1.mga2.nonfree.i586.rpm

PREIN

/bin/sh
# When installing both main package and -kde, failure of %pre of main package
# can prevent installation of it, but urpmi/rpm will try to install -kde
# regardless. FIXME.
# For now, workaround it by preventing -kde installation as well:
[ -e /usr/share/flash-player-plugin/functions ]

POSTIN

/bin/sh
FILE1_SRC="usr/lib/kde4/kcm_adobe_flash_player.so"
FILE1_DST="/usr/lib/kde4/kcm_adobe_flash_player.so"
FILE1_PRM="0755"
FILE2_SRC="usr/share/kde4/services/kcm_adobe_flash_player.desktop"
FILE2_DST="/usr/share/kde4/services/kcm_adobe_flash_player.desktop"
FILE2_PRM="0644"
FILE3_SRC=

. /usr/share/flash-player-plugin/functions
tar_extract

sed -i 's,=personal,=network-and-connectivity,' /usr/share/kde4/services/kcm_adobe_flash_player.desktop 2>/dev/null || :