author | ar <ar> | 2004-05-02 17:43:05 (UTC) |
---|---|---|
committer | ar <ar> | 2004-05-02 17:43:05 (UTC) |
commit | 43bd7d72643e2ee3bc4d830c6927def392bc9c7f (patch) (unidiff) | |
tree | 7693b81c5a37032f81a720ea299b98bbccb94bda | |
parent | a210b9a597ba0c929d95c38ffbaf972916c7b8a7 (diff) | |
download | opie-43bd7d72643e2ee3bc4d830c6927def392bc9c7f.zip opie-43bd7d72643e2ee3bc4d830c6927def392bc9c7f.tar.gz opie-43bd7d72643e2ee3bc4d830c6927def392bc9c7f.tar.bz2 |
- convert qDebug to odebug
-rw-r--r-- | core/symlinker/main.cpp | 4 |
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 ) | |||
67 | // odebug << "DirName : " << e.ascii() << "" << oendl; | 67 | // odebug << "DirName : " << e.ascii() << "" << oendl; |
68 | system ( QString("mkdir -p ")+e.ascii() ); | 68 | system ( QString("mkdir -p ")+e.ascii() ); |
69 | if (symlink( (location+s).ascii(), s.ascii() ) != 0) | 69 | if (symlink( (location+s).ascii(), s.ascii() ) != 0) |
70 | odebug << "Big problem creating symlink and directory" << oendl; | 70 | odebug << "Big problem creating symlink and directory" << oendl; |
71 | } | 71 | } |
72 | } | 72 | } |
73 | // qDebug ( "Created %s" ,s.ascii() ); | 73 | // odebug << "Created << s.ascii() << oendl; |
74 | out << s << "\n"; | 74 | out << s << "\n"; |
75 | } else { | 75 | } else { |
76 | odebug << "" << s.ascii() << " exists already, not symlinked" << oendl; | 76 | odebug << "" << s.ascii() << " exists already, not symlinked" << oendl; |
77 | } | 77 | } |
78 | } | 78 | } |
79 | } | 79 | } |
@@ -96,13 +96,13 @@ static void removeSymlinks( const QString &package ) | |||
96 | s = in.readLine(); // line of text excluding '\n' | 96 | s = in.readLine(); // line of text excluding '\n' |
97 | // odebug << "remove symlink " << s.ascii() << "" << oendl; | 97 | // odebug << "remove symlink " << s.ascii() << "" << oendl; |
98 | QFileInfo ffi( s ); | 98 | QFileInfo ffi( s ); |
99 | //Confirm that it's still a symlink. | 99 | //Confirm that it's still a symlink. |
100 | if ( ffi.isSymLink() ){ | 100 | if ( ffi.isSymLink() ){ |
101 | unlink( s.ascii() ); | 101 | unlink( s.ascii() ); |
102 | // qDebug ( "Removed %s", s.ascii() );} | 102 | // odebug << "Removed " << s.ascii() << oendl; } |
103 | // else | 103 | // else |
104 | // odebug << "Not removed " << s.ascii() << "" << oendl; | 104 | // odebug << "Not removed " << s.ascii() << "" << oendl; |
105 | } | 105 | } |
106 | } | 106 | } |
107 | inFile.close(); | 107 | inFile.close(); |
108 | inFile.remove(); | 108 | inFile.remove(); |