Skip to content

Commit fc123af

Browse files
committed
fixed: Debian package due lintian checking
1 parent d97fae7 commit fc123af

6 files changed

Lines changed: 20 additions & 8 deletions

File tree

deb.staging/DEBIAN/conffiles

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/etc/tgshd/tgshd.ini

deb.staging/DEBIAN/control

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
1-
Package: tgsh
2-
Version: 1.1.1.20-1
1+
Package: tgshd
2+
Priority: optional
3+
Version: 1.2.1.1-1
34
Maintainer: Renat Suleymanov <mail@Renat.Su>
45
Architecture: amd64
56
Section: utils
6-
Description: Shell remote app via telegram bot
7-
Depends: dash
7+
Depends: dash, libc6 (>= 2.2.5)
88
Origin: https://github.com/Al-Muhandis/ShellRemoteBot
9+
Description: Shell remote app via telegram bot
10+
Helps you work with your server (or remote computer) via telegram bot
11+
emulating terminal operations and a file manager functionality

deb.staging/DEBIAN/copyright

Lines changed: 0 additions & 1 deletion
This file was deleted.

deb.staging/DEBIAN/dirs

Lines changed: 0 additions & 2 deletions
This file was deleted.

make.deb.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Linux shell script to create .deb package
2+
# Go to the repository local folder. For example, cd /home/User/ShellRemoteBot
3+
STAGING_DIR=./deb.staging
4+
find "${STAGING_DIR}" -type d -exec chmod 0755 {} \;
5+
find "${STAGING_DIR}" -type f -exec chmod 0644 {} \;
6+
find "${STAGING_DIR}/usr/bin" -type f -exec chmod 0755 {} \;
7+
SIZE_IN_KB="$(du -s ${STAGING_DIR} | awk '{print $1;}')"
8+
echo "Installed-Size: ${SIZE_IN_KB}" >> "${STAGING_DIR}/DEBIAN/control"
9+
gzip -9 -n deb.staging/usr/share/doc/tgshd/changelog.Debian
10+
read -p "Input package filename: " PACKAGE_NAME
11+
dpkg-deb --root-owner-group --build "${STAGING_DIR}" "${PACKAGE_NAME}.deb"

tgshd.lpi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<AutoIncrementBuild Value="True"/>
2121
<MajorVersionNr Value="1"/>
2222
<MinorVersionNr Value="2"/>
23-
<BuildNr Value="19"/>
23+
<RevisionNr Value="1"/>
2424
</VersionInfo>
2525
<BuildModes Count="4">
2626
<Item1 Name="Default" Default="True"/>

0 commit comments

Comments
 (0)