Fix shebang and executable flag for all scripts

This commit is contained in:
Markus Frosch 2020-04-05 16:36:06 +02:00
parent 0f05cd8c8b
commit 23135f2ca5
41 changed files with 28 additions and 58 deletions

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python2
#!/usr/bin/env python
#
# remotinator - send commands to Terminator via DBus
# Copyright (C) 2006-2010 cmsj@tenshu.net
#

View File

@ -1,4 +1,5 @@
#!/usr/bin/env python3
#!/usr/bin/env python
#
# Terminator - multiple gnome terminals in one window
# Copyright (C) 2006-2010 cmsj@tenshu.net
#

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python2
# Terminator - multiple gnome terminals in one window
# Copyright (C) 2006-2010 cmsj@tenshu.net
# Terminator - multiple gnome terminals in one window
# Copyright (C) 2006-2010 cmsj@tenshu.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by

1
terminatorlib/borg.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""borg.py - We are the borg. Resistance is futile.

5
terminatorlib/config.py Executable file → Normal file
View File

@ -1,6 +1,5 @@
#!/usr/bin/env python2
# TerminatorConfig - layered config classes
# Copyright (C) 2006-2010 cmsj@tenshu.net
# TerminatorConfig - layered config classes
# Copyright (C) 2006-2010 cmsj@tenshu.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by

1
terminatorlib/container.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""container.py - classes necessary to contain Terminal widgets"""

1
terminatorlib/cwd.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""cwd.py - function necessary to get the cwd for a given pid on various OSes

View File

@ -1,5 +1,3 @@
#!/usr/bin/env python2
#
# Copyright (c) 2008, Thomas Hurst <tom@hur.st>
#
# Use of this file is unrestricted provided this notice is retained.

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# vim: tabstop=4 softtabstop=4 shiftwidth=4 expandtab
#
# Copyright (c) 2009, Emmanuel Bretelle <chantra@debuntu.org>

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python2
# TerminatorEncoding - charset encoding classes
# Copyright (C) 2006-2010 chantra@debuntu.org
# TerminatorEncoding - charset encoding classes
# Copyright (C) 2006-2010 chantra@debuntu.org
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by

1
terminatorlib/factory.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""factory.py - Maker of objects

2
terminatorlib/freebsd.py Normal file → Executable file
View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
#
# Copyright (c) 2008, Thomas Hurst <tom@hur.st>
#

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""ipc.py - DBus server and API calls"""

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python2
# Terminator - multiple gnome terminals in one window
# Copyright (C) 2006-2010 cmsj@tenshu.net
# Terminator - multiple gnome terminals in one window
# Copyright (C) 2006-2010 cmsj@tenshu.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""layoutlauncher.py - class for the Layout Launcher window"""

1
terminatorlib/notebook.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""notebook.py - classes for the notebook widget"""

5
terminatorlib/optionparse.py Executable file → Normal file
View File

@ -1,6 +1,5 @@
#!/usr/bin/env python2
# Terminator.optionparse - Parse commandline options
# Copyright (C) 2006-2010 cmsj@tenshu.net
# Terminator.optionparse - Parse commandline options
# Copyright (C) 2006-2010 cmsj@tenshu.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by

1
terminatorlib/paned.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""paned.py - a base Paned container class and the vertical/horizontal

1
terminatorlib/plugin.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""plugin.py - Base plugin system

1
terminatorlib/plugins/activitywatch.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""activitywatch.py - Terminator Plugin to watch a terminal for activity"""

1
terminatorlib/plugins/custom_commands.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""custom_commands.py - Terminator Plugin to add custom command menu entries"""

View File

@ -1,5 +1,3 @@
#!/usr/bin/env python2
# Plugin by Sinan Nalkaya <sardok@gmail.com>
# See LICENSE of Terminator package.

2
terminatorlib/plugins/maven.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Copyright (c) 2010 Julien Nicoulaud <julien.nicoulaud@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
@ -14,6 +13,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor
# , Boston, MA 02110-1301 USA
import re
import terminatorlib.plugin as plugin

1
terminatorlib/plugins/terminalshot.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""terminalshot.py - Terminator Plugin to take 'screenshots' of individual

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
import terminatorlib.plugin as plugin
# AVAILABLE must contain a list of all the classes that you want exposed

View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net?
# GPL v2 only
"""url_handlers.py - Default plugins for URL handling"""

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
"""Preferences Editor for Terminator.
Load a UIBuilder config file, display it,

0
terminatorlib/pylint.sh Executable file → Normal file
View File

1
terminatorlib/searchbar.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""searchbar.py - classes necessary to provide a terminal search bar"""

1
terminatorlib/signalman.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""Simple management of Gtk Widget signal handlers"""

1
terminatorlib/terminal.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""terminal.py - classes necessary to provide Terminal widgets"""

1
terminatorlib/terminal_popup_menu.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""terminal_popup_menu.py - classes necessary to provide a terminal context

1
terminatorlib/terminator.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""terminator.py - class for the master Terminator singleton"""

1
terminatorlib/titlebar.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""titlebar.py - classes necessary to provide a terminal title bar"""

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python2
# Terminator - multiple gnome terminals in one window
# Copyright (C) 2006-2010 cmsj@tenshu.net
# Terminator - multiple gnome terminals in one window
# Copyright (C) 2006-2010 cmsj@tenshu.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by

5
terminatorlib/util.py Executable file → Normal file
View File

@ -1,6 +1,5 @@
#!/usr/bin/env python2
# Terminator.util - misc utility functions
# Copyright (C) 2006-2010 cmsj@tenshu.net
# Terminator.util - misc utility functions
# Copyright (C) 2006-2010 cmsj@tenshu.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by

View File

@ -1,6 +1,5 @@
#!/usr/bin/env python2
# TerminatorVersion - version number
# Copyright (C) 2010 cmsj@tenshu.net
# TerminatorVersion - version number
# Copyright (C) 2010 cmsj@tenshu.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by

1
terminatorlib/window.py Executable file → Normal file
View File

@ -1,4 +1,3 @@
#!/usr/bin/env python2
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""window.py - class for the main Terminator window"""

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
"""Load up the tests."""
import os

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""testborg.py - We are the borg. Resistance is futile.
@ -57,3 +57,4 @@ class TestBorg2(Borg):
if not self.attribute:
self.attribute = 1
# TODO: implement test?

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python2
#!/usr/bin/env python
# Terminator by Chris Jones <cmsj@tenshu.net>
# GPL v2 only
"""testsignalman.py - Test the signalman class