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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>  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.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]