WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: oo2.tczl for tc_2.4  (Read 2298 times)

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
oo2.tczl for tc_2.4
« on: September 23, 2009, 02:24:52 AM »
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.
« Last Edit: September 24, 2009, 02:08:36 AM by jpeters »