[PC-BSD Commits] r1111 - pcbsd/trunk/PBCsource

svn at pcbsd.org svn at pcbsd.org
Tue Jan 8 09:33:05 PST 2008


Author: kris
Date: 2008-01-08 09:33:04 -0800 (Tue, 08 Jan 2008)
New Revision: 1111

Added:
   pcbsd/trunk/PBCsource/checkdf.sh
Modified:
   pcbsd/trunk/PBCsource/createpbi.sh
Log:

Updated the PBC program to include a new checkfs.sh script, and the createpbi.sh script to copy over teh default program icon so it shows up in the tray
properly



Added: pcbsd/trunk/PBCsource/checkdf.sh


Property changes on: pcbsd/trunk/PBCsource/checkdf.sh
___________________________________________________________________
Name: svn:executable
   + *

Modified: pcbsd/trunk/PBCsource/createpbi.sh
===================================================================
--- pcbsd/trunk/PBCsource/createpbi.sh	2008-01-08 15:58:07 UTC (rev 1110)
+++ pcbsd/trunk/PBCsource/createpbi.sh	2008-01-08 17:33:04 UTC (rev 1111)
@@ -163,6 +163,11 @@
 cp ${PROGDIR}/PBIfiles/lzma ${WORKDIR}/lzma
 chmod 755 ${WORKDIR}/lzma
 
+# Copy the checkdf.sh script to the workdir
+cp ${PROGDIR}/PBIfiles/checkdf.sh ${WORKDIR}/checkdf.sh
+chmod 755 ${WORKDIR}/checkdf.sh
+
+
 # Start the creation of the tar.lzma file
 tar cvf - -C ${PBILOC} . 2>${WORKDIR}/.lines | ${PROGDIR}/PBIfiles/lzma e -si ${WORKDIR}/Package.tar.lzma 2>/dev/null
 if [ "$?" != "0" ]
@@ -212,6 +217,10 @@
 # Now copy over any .qm lang files
 cp ${PROGDIR}/PBIfiles/*.qm ${WORKDIR}/ 
 
+# Copy the icon for this applcation over the default if it exists
+ICON="`cat ${WORKDIR}/PkgConfig | grep DefaultIcon | cut -d ':' -f 2 | cut -d ' ' -f 2`"
+cp ${PBILOC}/${ICON} ${WORKDIR}/icon.png
+
 echo "Done!"
 
 # Now create the final tarball



More information about the Commits mailing list