home *** CD-ROM | disk | FTP | other *** search
/ PCNET 2006 August - Disc 1 / PCNET_CD_2006_08_1.iso / linux / puppy-barebones-2.01r2.iso / pup_201.sfs / usr / sbin / dotpup < prev    next >
Encoding:
Text File  |  2006-04-05  |  2.5 KB  |  72 lines

  1. #!/bin/sh
  2.  
  3. echo '#!/bin/sh' > /tmp/dotpup.sh
  4. echo 'cd /usr/local/Dotpup-downloader-mu05' >> /tmp/dotpup.sh
  5. echo 'exec /usr/local/Dotpup-downloader-mu05/start-downloader' >> /tmp/dotpup.sh
  6. chmod 755 /tmp/dotpup.sh
  7.  
  8.  
  9. DLG1="
  10.  <wtitle>Puppy package manager</wtitle>
  11.  <vbox>
  12.  
  13.  <frame DotPup packages>
  14.   <text><label>DotPups are unofficial packages created by Puppy enthusiasts. They are very easy to install: download, then, using Rox file manager, click on it to install. DotPups are all over the place on the Internet, but the link below is a good introduction and jumping-off point.</label></text>
  15.   <text><label>If you wish, you can use Mark Ulrichs DotPup Downloader, which is a one-stop find and install application. The DotPup Downloader does not show all the information that may be present on a webpage containing DotPups, nor does it list all DotPups, but it is still very nice.</label></text>
  16.  
  17.   <hbox>
  18.    <text><label>Click button to go to main DotPup webpage:</label></text>
  19.    <vbox>
  20.     <button>
  21.      <input file>/usr/local/lib/X11/mini-icons/info16.xpm</input>
  22.      <action>/usr/local/bin/defaultbrowser http://www.puppylinux.org/wikka/DotPup &</action>
  23.      <action>EXIT:11</action>
  24.     </button>
  25.    </vbox>
  26.   </hbox>
  27.  
  28.   <hbox>
  29.    <text><label>Click button to run the DotPup Downloader:</label></text>
  30.    <vbox>
  31.     <button>
  32.      <input file>/usr/local/lib/X11/mini-icons/dotpup.xpm</input>
  33.      <action>/tmp/dotpup.sh &</action>
  34.      <action>EXIT:12</action>
  35.     </button>
  36.    </vbox>
  37.   </hbox>
  38.  </frame>
  39.  
  40.  <frame PupGet packages>
  41.   <text><label>These guys are the official packages, from the pool of packages used to create the Puppy live-CD. Any of these can also be installed individually.</label></text>
  42.   <text><label>The PupGet package manager can install and uninstall PupGet packages, and also uninstall registered DotPups.</label></text>
  43.  
  44.   <hbox>
  45.    <text><label>Click button to browse PupGet introduction webpage:</label></text>
  46.    <vbox>
  47.     <button>
  48.      <input file>/usr/local/lib/X11/mini-icons/info16.xpm</input>
  49.      <action>defaultbrowser http://www.puppylinux.com/development/package-management.htm &</action>
  50.     </button>
  51.    </vbox>
  52.   </hbox>
  53.  
  54.   <hbox>
  55.    <text><label>Click button to run the PupGet package manager:</label></text>
  56.    <vbox>
  57.     <button>
  58.      <input file>/usr/local/lib/X11/mini-icons/pupget.xpm</input>
  59.      <action>/usr/sbin/pupget &</action>
  60.      <action>EXIT:14</action>
  61.     </button>
  62.    </vbox>
  63.   </hbox>
  64.  </frame>
  65.  
  66.  </vbox>
  67. "
  68.  
  69. echo "$DLG1" | gtkdialog2 --stdin
  70.  
  71. ###END###
  72.