This file is indexed.

/usr/bin/copy-cvsmk is in ignore-me 0.1.2-1.

This file is owned by root:root, with mode 0o755.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#!/usr/bin/python3
# copy-cvsmk is part of the ignore-me package.
#
# @copyright: Copyright (C) 2017 Sascha Manns <Sascha.Manns@mailbox.org>
# @author: Sascha Manns
# @license: GPL3+
#
# 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
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.


import shutil
import os
import gettext
import locale
from pathlib import Path

# Define some Pathes
prefix = '/usr'
version = '0.1.2'
datadir = prefix + '/share'
cvsmkhome = datadir + '/ignore-me/cvs.mk'
localedir = prefix + '/share/local'
locale.bindtextdomain('ignore-me', localedir)
locale.textdomain('ignore-me')
gettext.bindtextdomain('ignore-me', localedir)
gettext.textdomain('ignore-me')
_ = gettext.gettext


def copyFile(src, dest):
    """
    Copies a file to a destination
    :param src: The full path to a source file
    :param dest: The chosen destination
    :return:
    """
    try:
        shutil.copy(src, dest)
    # eg. src and dest are the same file
    except shutil.Error as e:
        print('Error: %s' % e)
    # eg. source or destination doesnt exist
    except IOError as e:
        print('Error: %s' % e.strerror)


print(_('copy-cvsmk - .cvsignore creating tool - Version: ignore-me ' + version))

# Get current dir
dst = os.getcwd()

# Run copyFile method for copying the new file
copyFile(cvsmkhome, dst)

# Gets the full path to your copied file
destfile = dst + '/cvs.mk'

# Check if the new file is placed in current dir.
# Otherwise it gives an error messages.
my_file = Path(str(destfile))
if my_file.is_file():
    print(_('Installed cvs.mk was copied to current directory.'))
else:
    print(_('Anything goes wrong. Please file a Bugreport.'))
print(_('More information: man copy-cvsmk.'))