Show
Ignore:
Timestamp:
01/16/08 06:02:55 (11 months ago)
Author:
gonzalo
Message:

DOSBox privileges error

Location:
pbibuild/modules/dosbox
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • pbibuild/modules/dosbox/overlay-dir/PBI.FirstRun.sh

    r1147 r1187  
    1818 
    1919 
    20 if [ -e "/usr/local/bin/digikam" ] 
     20if [ -e "/usr/local/bin/dosbox" ] 
    2121then 
    2222    # Looks like FF is installed, ask if they want to remove the old one 
    23     ls -al /usr/local/bin/digikam | grep Programs 2>/dev/null 
     23    ls -al /usr/local/bin/dosbox | grep Programs 2>/dev/null 
    2424    if [ "$?" = "0" ] 
    2525    then 
    26       kdialog --yesno "digiKam is already installed, do you wish to uninstall it?"  
     26      kdialog --yesno "DOSBox is already installed, do you wish to uninstall it?"  
    2727      if [ "$?" = "0" ] 
    2828      then 
    29         FF="`ls -al /usr/local/bin/digikam | cut -d '>' -f 2 | cut -d "/" -f 3`" 
    30         echo $FF | grep digiKam 2>/dev/null 
     29        FF="`ls -al /usr/local/bin/dosbox | cut -d '>' -f 2 | cut -d "/" -f 3`" 
     30        echo $FF | grep DOSBox 2>/dev/null 
    3131        if [ "$?" = "0" ] 
    3232        then 
    3333          PBIdelete -remove ${FF} 
    3434        else 
    35           kdialog --sorry "digiKam could not be automatically removed... Please remove it in Add / Remove Programs and try again." 
     35          kdialog --sorry "DOSBox could not be automatically removed... Please remove it in Add / Remove Programs and try again." 
    3636          return 2 
    3737        fi 
    3838      else 
    39         kdialog --sorry "digiKam is already installed, it must be uninstalled before loading this PBI" 
     39        kdialog --sorry "DOSBox is already installed, it must be uninstalled before loading this PBI" 
    4040        return 2 
    4141      fi 
     
    4343    else 
    4444      # Could not find a link to PBI folder 
    45       kdialog --sorry "digiKam is already installed, it must be uninstalled before loading this PBI" 
     45      kdialog --sorry "DOSBox is already installed, it must be uninstalled before loading this PBI" 
    4646      return 2 
    4747    fi 
  • pbibuild/modules/dosbox/overlay-dir/PBI.SetupScript.sh

    r1147 r1187  
    1818ln -s /Programs/${PROGDIR}/man/man1/dosbox.1.gz /usr/local/man/man1/dosbox.1.gz 
    1919ln -s /Programs/${PROGDIR}/share/doc/dosbox /usr/local/share/doc/dosbox 
     20chmod +x /Programs/${PROGDIR}/scripts/removepbi.sh 
    2021 
    2122echo "LAUNCHCLOSE: /usr/local/bin/dosbox" 
  • pbibuild/modules/dosbox/pbi.conf

    r1180 r1187  
    3333# Build Key - Change this to anything else to trigger a rebuild  
    3434#           - The rebuild will take place even if port is still the same ver 
    35 BUILDKEY="03" 
     35BUILDKEY="04" 
    3636 
    3737export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY