summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoromega <omega@omg-lin.(none)>2009-10-20 14:06:50 +0200
committeromega <omega@omg-lin.(none)>2009-10-20 14:06:50 +0200
commite0854ace8a1b4f90b16204e9e22c3391e2790dcf (patch)
treea6b9b050dcc37bd1ec7f7d2b38c464a92202d8fb
parentfad4fd36c012a3aba957c347f7233ec40009b0d3 (diff)
downloadscripts-e0854ace8a1b4f90b16204e9e22c3391e2790dcf.tar.gz
scripts-e0854ace8a1b4f90b16204e9e22c3391e2790dcf.tar.bz2
Fixed fix-python
-rwxr-xr-xgit-compiz2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-compiz b/git-compiz
index 1e248ab..9bec76d 100755
--- a/git-compiz
+++ b/git-compiz
@@ -120,7 +120,7 @@ fix_python()
{
echo -n $INFO_FIX_PYTHON
if [ -d $DESTDIR$PREFIX/$LIBDIR/python2.6/dist-packages -a ! -f $DESTDIR$PREFIX/$LIBDIR/python2.6/dist-packages/compiz_path.pth ]; then
- root bash -c "echo $DESTDIR$PREFIX/$LIBDIR/python2.6/site-packages >> $DESTDIR$PREFIX/$LIBDIR/python2.6/dist-packages/compiz_path.pth"
+ sudo bash -c "echo $DESTDIR$PREFIX/$LIBDIR/python2.6/site-packages >> $DESTDIR$PREFIX/$LIBDIR/python2.6/dist-packages/compiz_path.pth"
fi
echo $INFO_OK
exit 1