[olug] Need older version of 64bit Adobe flash-plugin preferably from CentOS RPM

Rob Townley rob.townley at gmail.com
Mon Apr 15 16:23:32 UTC 2013


Thank you Shannon for making sure i knew i wasted time writing a script to
retrieve from an old machine.
Thanks.

#!/bin/bash
dtSTAMP=`date +%Y%m%d-%H%M%S`
VersionGood=11.2.202.275
VersionCurrent=`rpm --queryformat "%{VERSION}" --query flash-plugin`
Version3264=`rpm --queryformat "%{ARCH}" --query flash-plugin`
tmpDIR=/tmp/$0/$dtSTAMP
FileList=flashpkgfiles.txt


print32or64() {
 if [[ "$Version3264" == "x86_64" ]]; then
  echo -n 64bit flash-plugin
 else
  echo -n 32bit flash-plugin
 fi;
}

if [[ ! -f /tmp/$0/. ]]; then mkdir /tmp/$0/; fi;
mkdir /tmp/$0/$dtSTAMP
pushd $tmpDIR
touch test.txt
echo Until Amazon Instant Video works with the Adobe flash player above
$VersionGood,
echo generate list of files from rpm db to recover
flash-plugin-11.2.202.275-release or earlier.
echo You should have rpm -qi flash-plugin-11.2.202.275-release or OLDER.
echo By default, bash does not seem to recognize version information
because it has periods.
echo VersionGood=$VersionGood
echo VersionCurrent=$VersionCurrent

echo Doing a string comparison on package version numbers, must be better
way:
if   [[ "$VersionGood" > "$VersionCurrent" ]]; then
 echo good.
elif [[ "$VersionGood" = "$VersionCurrent" ]]; then
 echo good.
else
 echo bad.
fi

echo -n "Seems you have the "
print32or64
print32or64 >> 32or64bit.txt
echo >> 32or64bit.txt
echo

rpm -q --filesbypkg flash-plugin > $FileList
echo Convert file for use by tar --files-from
sed --in-place --expression "s/^flash-plugin\s*//g" $FileList
uname -p >> 32or64bit.txt
echo $HOSTTYPE >> 32or64bit.txt
cat /proc/version >> proc-version.txt
echo 32or64bit.txt >> $FileList
echo proc-version.txt >> $FileList
rpm -qi flash-plugin > rpm-qi-flash-plugin.txt
echo rpm-qi-flash-plugin.txt >> $FileList
echo $0 >> $FileList
tar --files-from=$FileList --absolute-names --create
--file=/$tmpDIR/flash-plugin-11.2.202.275-retrieved.tar
echo Author: rob.townley at gmail.com
echo Forget this script, download old versions of flash from:
echo
http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html




On Mon, Apr 15, 2013 at 10:52 AM, Shannon <ridgid at gmail.com> wrote:

> did you look here
> http://helpx.adobe.com/flash-player/kb/archived-flash-player-versions.html
>
>



More information about the OLUG mailing list