PuppyLinux : dotpupsh

PuppyLinuxMainPage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

Puppy Linux Mini How-to  


Below is a sample dotpup.sh file extracted from GuestToo's DotPup Template. The template uses Gtkfind, a find utility, as an example.
#!/bin/sh

# installs gtkFind in my-roxapps
# 0.0.2 - GuestToo - Jun 6, 2005

# this script automatically runs after the dotpup file is unzipped
# it can rm, mv, cp files and dirs
# it can ln or rm symlinks
# it can run programs

# unzip the files using absolute paths
# paths relative to $HOME might be better

tar -xzP --no-same-owner -f dotpup.tar.gz

# opens the my-roxapps folder and also shows gtkfind.txt
# rox will use whatever run action is configured for .txt files

exec rox /root/my-roxapps/ /root/my-roxapps/gtkFind/Help/gtkfind.txt

The only line that you need to change is:
         exec rox /root/my-roxapps/ /root/my-roxapps/gtkFind/Help/gtkfind.txt

Change the line so that a file of your choice will popup when your dotpup is installed, e.g,
         exec rox /root/my-roxapps/ /root/my-roxapps/XXXX/Help/readme.txt

When you are more comfortable with making dotpup, more lines can be added to popup
a message, make symlinks, edit config files, register with PupGet, etc.


CategoryHowto

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.0
Page was generated in 0.3148 seconds