2
# vim: ts=4:sw=4:expandtab
5
## Copyright (C) 2009 Andrew Ziem
6
## http://bleachbit.sourceforge.net
8
## This program is free software: you can redistribute it and/or modify
9
## it under the terms of the GNU General Public License as published by
10
## the Free Software Foundation, either version 3 of the License, or
11
## (at your option) any later version.
13
## This program is distributed in the hope that it will be useful,
14
## but WITHOUT ANY WARRANTY; without even the implied warranty of
15
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
## GNU General Public License for more details.
18
## You should have received a copy of the GNU General Public License
19
## along with this program. If not, see <http://www.gnu.org/licenses/>.
29
gui = bleachbit.GUI.GUI()
2
# vim: ts=4:sw=4:expandtab
5
## Copyright (C) 2009 Andrew Ziem
6
## http://bleachbit.sourceforge.net
8
## This program is free software: you can redistribute it and/or modify
9
## it under the terms of the GNU General Public License as published by
10
## the Free Software Foundation, either version 3 of the License, or
11
## (at your option) any later version.
13
## This program is distributed in the hope that it will be useful,
14
## but WITHOUT ANY WARRANTY; without even the implied warranty of
15
## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
## GNU General Public License for more details.
18
## You should have received a copy of the GNU General Public License
19
## along with this program. If not, see <http://www.gnu.org/licenses/>.
32
if 'posix' == os.name and os.path.isdir('/usr/share/bleachbit'):
33
# This path contains bleachbit/{C,G}LI.py . This section is
34
# unnecessary if installing BleachBit in site-packages.
35
sys.path.append('/usr/share/')
40
if 1 == len(sys.argv):
43
gui = bleachbit.GUI.GUI()
47
bleachbit.CLI.process_cmd_line()