summaryrefslogtreecommitdiff
path: root/noncore
authordrw <drw>2004-04-21 15:59:57 (UTC)
committer drw <drw>2004-04-21 15:59:57 (UTC)
commit7dc2ed4e55acf69b0edf01ded81f00b61c472312 (patch) (side-by-side diff)
tree3d90c6ca4484f8558a530aa9169a27213ce01586 /noncore
parent5ac20617216e4592685940ede23f135d86e8d2cd (diff)
downloadopie-7dc2ed4e55acf69b0edf01ded81f00b61c472312.zip
opie-7dc2ed4e55acf69b0edf01ded81f00b61c472312.tar.gz
opie-7dc2ed4e55acf69b0edf01ded81f00b61c472312.tar.bz2
Should have deleted a line before checking in...
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/packagemanager/oipkg.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/noncore/settings/packagemanager/oipkg.cpp b/noncore/settings/packagemanager/oipkg.cpp
index b9c82df..696a64a 100644
--- a/noncore/settings/packagemanager/oipkg.cpp
+++ b/noncore/settings/packagemanager/oipkg.cpp
@@ -178,25 +178,24 @@ void OIpkg::setConfigItems( OConfItemList *configList )
confDir.setFilter( QDir::Files );
confFiles = confDir.entryList( "*.conf", QDir::Files );
QStringList::Iterator lastFile = confFiles.end();
for ( QStringList::Iterator it = confFiles.begin(); it != lastFile; ++it )
{
// Create absolute file path if necessary
QString absFile = (*it);
if ( !absFile.startsWith( "/" ) )
absFile.prepend( QString( IPKG_CONF_DIR ) + "/" );
// Delete file
-printf( "Deleting: \'%s\'\n", absFile.latin1() );
QFile::remove( absFile );
}
}
// Reinitialize libipkg to pick up new configuration
ipkg_deinit( &m_ipkgArgs );
ipkg_init( &fsignalIpkgMessage, &fIpkgResponse, &m_ipkgArgs );
m_ipkgArgs.noaction = false;
m_ipkgArgs.force_defaults = true;
}
void OIpkg::saveSettings()