SL_firefox_parentlock_fix-1.0-3> A AlpA?E%j6W0Ee{5PRY {o 42Q06be2a75c8d60d6e01e7bfafa216331317ce959fw~}a }Ј?E%j@0/}#w(˿OrQ V9d֕UB~?|>, ? yd  " b A\l()* 4+ R, X- d8 p9 |: @ D F X Y b d >e Cf Hk Jl Qz iCSL_firefox_parentlock_fix1.03Fixes afs lock problems for firefox, thunderbird, and seamonkeyWhen a users home area is in AFS space, it is possible for firefox, thunderbird, and/or seamonkey to leave a lock file called .parentlock when they are closed. The user is then not able to restart their problem until that lock file is removed. This puts in a startup script that cleans up that file.Enoswad.fnal.govScientific LinuxGPLTroy DawsonSLhttps://www.scientificlinux.org/linuxnoarch#Let's clean ourselves up if we're the last if [ "$1" = "0" ] ; then #First firefox for line in `ls -1d /usr/lib/firefox-1.*/init.d` do if [ ! -a $line/S01parentlock ] ; then rm -f $line/S01parentlock fi done #Then thunderbird for line in `ls -1d /usr/lib/thunderbird-1.*/init.d` do if [ ! -a $line/S01parentlock ] ; then rm -f $line/S01parentlock fi done #Finolly seamonkey for line in `ls -1d /usr/lib/mozilla-seamonkey-1*/init.d` do if [ ! -a $line/S01parentlock ] ; then rm -f $line/S01parentlock fi done fiSL_firefox_parentlock_fix-1.0-3.src.rpmSL_firefox_parentlock_fix@JJ/bin/sh/bin/shrpmlib(PayloadFilesHavePrefix)rpmlib(CompressedFileNames)4.0-13.0.4-14.2.3for line in `ls -1d /usr/lib/firefox-1.*/init.d` do if [ ! -a $line/S01parentlock ] ; then cat > $line/S01parentlock << EOF #!/bin/sh # # removes .parentlock # APP_FOLDER="\$HOME/.mozilla/firefox" find \$APP_FOLDER -noleaf -type d -maxdepth 1 -mindepth 1 | while read i; do if [ ! -L "\$i/lock" -a -e "\$i/.parentlock" ]; then rm -f "\$i/.parentlock" fi done EOF chmod 755 $line/S01parentlock fi done #---------------------------------------------------------#for line in `ls -1d /usr/lib/thunderbird-1.*/init.d` do if [ ! -a $line/S01parentlock ] ; then cat > $line/S01parentlock << EOF #!/bin/sh # # removes .parentlock # APP_FOLDER="\$HOME/.thunderbird" find \$APP_FOLDER -noleaf -type d -maxdepth 1 -mindepth 1 | while read i; do if [ ! -L "\$i/lock" -a -e "\$i/.parentlock" ]; then rm -f "\$i/.parentlock" fi done EOF chmod 755 $line/S01parentlock fi done #---------------------------------------------------------#sed -i 's@^[[:space:]]*exec \$MOZ_PROGRAM@[ -x $MOZ_DIST_BIN/init.d/S01parentlock ] \&\& $MOZ_DIST_BIN/init.d/S01parentlock\n&@' /usr/bin/mozilla || : for line in `ls -1d /usr/lib/mozilla-seamonkey-1*/init.d` do if [ ! -a $line/S01parentlock ] ; then cat > $line/S01parentlock << EOF #!/bin/sh # # removes .parentlock # APP_FOLDER="\$HOME/.mozilla" find \$APP_FOLDER -noleaf -type d -maxdepth 2 -mindepth 2 | grep -v firefox | grep -v Cache | while read i; do if [ ! -L "\$i/lock" -a -e "\$i/.parentlock" ]; then rm -f "\$i/.parentlock" fi done EOF chmod 755 $line/S01parentlock fi done #---------------------------------------------------------#firefoxthunderbirdseamonkeyE3E3E >Troy Dawson 1.0-2Troy Dawson 1.0-2Troy Dawson 1.0-1- Fixed seamonkey's script- Fixed scripts by puting a \ infront of the $'s - Added bit to seamonkey trigger script so that it works - Added postun script so we clean up ourserves.- First go round of putting in the parentlock removers/bin/sh/bin/sh/bin/sh/bin/shnoswad.fnal.gov 11585968861.0-3-O2 -g -pipe -march=i386 -mcpu=i686cpiogzip9noarchnoarch-redhat-linux-gnu|tZg{c:?@3070704 $!A>A @5|