Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: jpeters on September 22, 2009, 11:24:52 PM

Title: oo2.tczl for tc_2.4
Post by: jpeters on September 22, 2009, 11:24:52 PM
Here's a startup script ( /usr/local/bin/oo2) for oo2.tczl  that replaces the user.tar.gz (no longer supported).  I added a flag so files are copied only once, and had the menu and  icon point to it instead of soffice.    
 
Code: [Select]
#!/bin/sh
if [ ! -e /tmp/oo2-flag ]; then
 if [ -d /tmp/tcloop/oo2/usr/local/bin/ ]; then
         sudo cp -Rp /tmp/tcloop/oo2/usr/local/bin/* /usr/local/bin/
         sudo touch /tmp/oo2-flag
 fi    
fi
/usr/local/bin/soffice

exit 0


Edit: Looks like scripts run from /usr/local/tce.installed....much simpler.