summaryrefslogtreecommitdiff
path: root/core/symlinker
authorar <ar>2004-05-02 17:43:05 (UTC)
committer ar <ar>2004-05-02 17:43:05 (UTC)
commit43bd7d72643e2ee3bc4d830c6927def392bc9c7f (patch) (side-by-side diff)
tree7693b81c5a37032f81a720ea299b98bbccb94bda /core/symlinker
parenta210b9a597ba0c929d95c38ffbaf972916c7b8a7 (diff)
downloadopie-43bd7d72643e2ee3bc4d830c6927def392bc9c7f.zip
opie-43bd7d72643e2ee3bc4d830c6927def392bc9c7f.tar.gz
opie-43bd7d72643e2ee3bc4d830c6927def392bc9c7f.tar.bz2
- convert qDebug to odebug
Diffstat (limited to 'core/symlinker') (more/less context) (ignore whitespace changes)
-rw-r--r--core/symlinker/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/symlinker/main.cpp b/core/symlinker/main.cpp
index 96e7f3c..bf53a82 100644
--- a/core/symlinker/main.cpp
+++ b/core/symlinker/main.cpp
@@ -67,13 +67,13 @@ static void createSymlinks( const QString &location, const QString &package )
// odebug << "DirName : " << e.ascii() << "" << oendl;
system ( QString("mkdir -p ")+e.ascii() );
if (symlink( (location+s).ascii(), s.ascii() ) != 0)
odebug << "Big problem creating symlink and directory" << oendl;
}
}
-// qDebug ( "Created %s" ,s.ascii() );
+// odebug << "Created << s.ascii() << oendl;
out << s << "\n";
} else {
odebug << "" << s.ascii() << " exists already, not symlinked" << oendl;
}
}
}
@@ -96,13 +96,13 @@ static void removeSymlinks( const QString &package )
s = in.readLine(); // line of text excluding '\n'
// odebug << "remove symlink " << s.ascii() << "" << oendl;
QFileInfo ffi( s );
//Confirm that it's still a symlink.
if ( ffi.isSymLink() ){
unlink( s.ascii() );
-// qDebug ( "Removed %s", s.ascii() );}
+// odebug << "Removed " << s.ascii() << oendl; }
// else
// odebug << "Not removed " << s.ascii() << "" << oendl;
}
}
inFile.close();
inFile.remove();