forked from TrueCloudLab/frostfs-http-gw
[#26] Fix pre-commit issues
Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
This commit is contained in:
parent
6f35d7198d
commit
7c16ffa250
13 changed files with 51 additions and 54 deletions
1
debian/control
vendored
1
debian/control
vendored
|
@ -12,4 +12,3 @@ Package: frostfs-http-gw
|
|||
Architecture: any
|
||||
Depends: ${misc:Depends}
|
||||
Description: FrostFS HTTP Gateway bridges FrostFS internal protocol and HTTP standard.
|
||||
|
||||
|
|
8
debian/copyright
vendored
8
debian/copyright
vendored
|
@ -14,12 +14,12 @@ License: GPL-3
|
|||
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; version 3.
|
||||
|
||||
|
||||
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 or at /usr/share/common-licenses/GPL-3.
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
along with this program or at /usr/share/common-licenses/GPL-3.
|
||||
If not, see <http://www.gnu.org/licenses/>.
|
||||
|
|
4
debian/frostfs-http-gw.postinst
vendored
Normal file → Executable file
4
debian/frostfs-http-gw.postinst
vendored
Normal file → Executable file
|
@ -29,8 +29,8 @@ case "$1" in
|
|||
chmod -f 0640 /etc/frostfs/$USERNAME/config.yaml || true
|
||||
fi
|
||||
USERDIR=$(getent passwd "frostfs-$USERNAME" | cut -d: -f6)
|
||||
if ! dpkg-statoverride --list frostfs-$USERDIR >/dev/null; then
|
||||
chown -f frostfs-$USERNAME: $USERDIR
|
||||
if ! dpkg-statoverride --list frostfs-"$USERDIR" >/dev/null; then
|
||||
chown -f frostfs-$USERNAME: "$USERDIR"
|
||||
fi
|
||||
;;
|
||||
|
||||
|
|
0
debian/frostfs-http-gw.postrm
vendored
Normal file → Executable file
0
debian/frostfs-http-gw.postrm
vendored
Normal file → Executable file
0
debian/frostfs-http-gw.preinst
vendored
Normal file → Executable file
0
debian/frostfs-http-gw.preinst
vendored
Normal file → Executable file
0
debian/frostfs-http-gw.prerm
vendored
Normal file → Executable file
0
debian/frostfs-http-gw.prerm
vendored
Normal file → Executable file
6
debian/rules
vendored
6
debian/rules
vendored
|
@ -8,9 +8,7 @@ SERVICE = frostfs-http-gw
|
|||
dh $@
|
||||
|
||||
override_dh_installsystemd:
|
||||
dh_installsystemd --no-enable --no-start $(SERVICE).service
|
||||
dh_installsystemd --no-enable --no-start $(SERVICE).service
|
||||
|
||||
override_dh_installchangelogs:
|
||||
dh_installchangelogs -k CHANGELOG.md
|
||||
|
||||
|
||||
dh_installchangelogs -k CHANGELOG.md
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue