[Bug 532635] Review Request: rurple - A Python Learning Environment

bugzilla at redhat.com bugzilla at redhat.com
Wed Nov 4 16:02:04 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=532635





--- Comment #13 from Paulo Roma Cavalcanti <promac at gmail.com>  2009-11-04 11:02:03 EDT ---
This is the new /usr/bin/rurple script:

-----------------------------------------------------------------------


#!/bin/bash

#if no .rurple in home
if [ ! -d ~/.rurple ]; then
  #make .rurple in home
  mkdir ~/.rurple || :
fi

#link to data
if [ ! -d ~/.rurple/lessons ]; then
  ln -s /usr/share/rurple/lessons ~/.rurple/lessons || :
fi
if [ ! -d ~/.rurple/python_files ]; then
  ln -s /usr/share/rurple/python_files ~/.rurple/python_files  || :
fi
if [ ! -d ~/.rurple/rur_images ]; then
  ln -s /usr/share/rurple/rur_images ~/.rurple/rur_images || :
fi
if [ ! -d ~/.rurple/rur_locale ]; then
  ln -s /usr/share/rurple/rur_locale ~/.rurple/rur_locale || :
fi

#copy mutable data
if [ ! -d ~/.rurple/rur_programs ]; then
  cp -R -p /usr/share/rurple/rur_programs ~/.rurple/ || :
fi
if [ ! -d ~/.rurple/world_files ]; then
  cp -R -p /usr/share/rurple/world_files ~/.rurple/ || :
fi

cd ~/.rurple
exec /usr/bin/rur_start.py "$@"

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the package-review mailing list