Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Enable apt in DSL 3.3, Should it get the unc?< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: June 01 2007,12:56 QUOTE

I just used the right-click menu item "Enable apt" for the first time in a long time with DSL 3.3.

I noticed that the script downloaded the dsl-dpkg.dsl extension - shouldn't it download the dsl-dpkg.unc extension unless you're using a legacy boot?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: June 01 2007,14:38 QUOTE

Yea, it would be wise to update that...

The scripts I'm using do something like:
Code Sample
lsmod | grep -e "^unionfs "  # and/or use `mount`?
USING_UNIONFS=$?

cat /proc/cmdline | grep " legacy "
USING_LEGACY=$?


Of course using using case statements is probably better for performance, but it's shorter to write here.  Then I have some error checking... such as
Code Sample
if [ $USING_UNIONFS -eq $USING_LEGACY ]
but could be left out for this topic's purpose, since I made my scripts to be backwards-compatible with older DSL releases.
Back to top
Profile PM 
1 replies since June 01 2007,12:56 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Enable apt in DSL 3.3

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code