unc to dsl


Forum: Apps
Topic: unc to dsl
started by: Juanito

Posted by Juanito on Mar. 11 2007,14:04
I tried Felson's suggested commands below to convert a couple of unc extensions to dsl (thanks again):

Code Sample
cd ~dsl/
mkdir tmp
cd tmp
cp -rp /opt/package/* .
du -a | awk '{print $2}' | sed "s/\.\///g" > package.lst
[edit package.lst and remove any directories that aren't empty]
tar -zcvf package.dsl -T package.lst
mv package.dsl ..
cd ..
rm -rf tmp

If I use this on the Skype unc extension to make a dsl extension, then the file user.tar.gz is placed in the root directory. I assume the purpose of this is to add an icon to launch Skype - how do you go about doing this in a dsl extension, or perhaps more generally, is there a consistant way to treat the contents of user.tar.gz in general when going from unc --> dsl?

Posted by Felson on Mar. 11 2007,16:20
He, I forgot about that.

Here is revised code

Code Sample

cd ~dsl/
mkdir tmp
cd tmp
cp -rp /opt/package/* .
tar -xzf user.tar.gz
rm user.tar.gz
du -a | awk '{print $2}' | sed "s/\.\///g" > package.lst
[edit package.lst and remove any directories that aren't empty]
tar -zcvf package.dsl -T package.lst
mv package.dsl ..
cd ..
rm -rf tmp

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.