flashplugin-installer prerm script fix
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flashplugin-nonfree (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: flashplugin-nonfree
flashplugin-
[ `update-
which does not work as intended because updates-
obvious fix is to change lines 37 and 55 to:
[ `update-
and flashplugin-
ProblemType: Bug
Architecture: amd64
Date: Fri Jul 24 03:26:17 2009
DistroRelease: Ubuntu 9.10
Package: flashplugin-
ProcEnviron:
PATH=(custom, user)
LANG=sv_SE.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: flashplugin-nonfree
Uname: Linux 2.6.31-3-generic x86_64
Changed in flashplugin-nonfree (Ubuntu): | |
status: | Incomplete → Confirmed |
it seems like a bit of a redundant check to me, trying to remove an alternatives name is it has no links. but if we've removed the last link then the name is automatically removed anyway. unless theres something i'm missing we could drop altogether. still, daniels fix will certainly do the trick
for p in $VARIANTS; do
[ `update- alternatives --list "$p-flashplugin" | wc -l` = 0 ] && \
update- alternatives --remove-all "$p-flashplugin"
done