[#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
0
Makefile
Normal file → Executable file
0
Makefile
Normal file → Executable file
1
debian/control
vendored
1
debian/control
vendored
|
@ -12,4 +12,3 @@ Package: frostfs-http-gw
|
||||||
Architecture: any
|
Architecture: any
|
||||||
Depends: ${misc:Depends}
|
Depends: ${misc:Depends}
|
||||||
Description: FrostFS HTTP Gateway bridges FrostFS internal protocol and HTTP standard.
|
Description: FrostFS HTTP Gateway bridges FrostFS internal protocol and HTTP standard.
|
||||||
|
|
||||||
|
|
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
|
chmod -f 0640 /etc/frostfs/$USERNAME/config.yaml || true
|
||||||
fi
|
fi
|
||||||
USERDIR=$(getent passwd "frostfs-$USERNAME" | cut -d: -f6)
|
USERDIR=$(getent passwd "frostfs-$USERNAME" | cut -d: -f6)
|
||||||
if ! dpkg-statoverride --list frostfs-$USERDIR >/dev/null; then
|
if ! dpkg-statoverride --list frostfs-"$USERDIR" >/dev/null; then
|
||||||
chown -f frostfs-$USERNAME: $USERDIR
|
chown -f frostfs-$USERNAME: "$USERDIR"
|
||||||
fi
|
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
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -12,5 +12,3 @@ override_dh_installsystemd:
|
||||||
|
|
||||||
override_dh_installchangelogs:
|
override_dh_installchangelogs:
|
||||||
dh_installchangelogs -k CHANGELOG.md
|
dh_installchangelogs -k CHANGELOG.md
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue