The postinst should put the path in a shell variable, instead of repeating it 4 times (2 times incorrectly, with /usr instead of /var). e.g.
INST_DIR=/var/lib/flashplugin-installer
INST_SO=libflashplayer.so
and use $INST_DIR/npwrapper.$INST_SO when needed.
Maybe.
actually, someone who knows what all the paths are supposed to be should have a look at the script and make sure that other occurrences of /usr/lib/flashplugin-installer are ok. e.g.
NSPLUGIN_DIR=/var/lib/flashplugin-installer/ /usr/bin/nspluginwrapper -n -i /usr/lib/flashplugin-installer/libflashplayer.so
flash works for me, in both firefox and seamonkey, but the postinst is a bit of a mess with /var/lib vs. /usr/lib
I also noticed that postinst deletes the tar.gz it just downloaded, so it always has to re-download.
This only matters when mucking around, since normally the postinst will only run after an upgrade,
and those will normally come with a new tar.gz to download.
the rm -rf could be rm -rf adobe-flashplugin*[^z] to keep the tar.gz, although that's still somewhat brittle and will stop working
if they ever dist a tar.bz2, for example.
Found the broken symlink with cruft(8). I don't use ubufox.
flashplugin- installer. postinst does
for p in $VARIANTS; do
... update-alternatives with /var/lib/....so
ln -sf /usr/lib/ flashplugin- installer/ npwrapper. libflashplayer. so /usr/share/ ubufox/ plugins
Note the /var/lib vs. /usr/lib mixup.
The postinst should put the path in a shell variable, instead of repeating it 4 times (2 times incorrectly, with /usr instead of /var). e.g. /var/lib/ flashplugin- installer libflashplayer. so npwrapper. $INST_SO when needed.
INST_DIR=
INST_SO=
and use $INST_DIR/
Maybe.
actually, someone who knows what all the paths are supposed to be should have a look at the script and make sure that other occurrences of /usr/lib/ flashplugin- installer are ok. e.g. DIR=/var/ lib/flashplugin -installer/ /usr/bin/ nspluginwrapper -n -i /usr/lib/ flashplugin- installer/ libflashplayer. so
NSPLUGIN_
flash works for me, in both firefox and seamonkey, but the postinst is a bit of a mess with /var/lib vs. /usr/lib
I also noticed that postinst deletes the tar.gz it just downloaded, so it always has to re-download.
This only matters when mucking around, since normally the postinst will only run after an upgrade,
and those will normally come with a new tar.gz to download.
The lines in question are:
fp_download_ and_unpack
rm -rf adobe-flashplugin*
the rm -rf could be rm -rf adobe-flashplug in*[^z] to keep the tar.gz, although that's still somewhat brittle and will stop working
if they ever dist a tar.bz2, for example.