Skip to content

Commit

Permalink
fixed: Debian package due lintian checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Al-Muhandis committed Sep 6, 2021
1 parent d97fae7 commit fc123af
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 8 deletions.
1 change: 1 addition & 0 deletions deb.staging/DEBIAN/conffiles
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/etc/tgshd/tgshd.ini
11 changes: 7 additions & 4 deletions deb.staging/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
Package: tgsh
Version: 1.1.1.20-1
Package: tgshd
Priority: optional
Version: 1.2.1.1-1
Maintainer: Renat Suleymanov <[email protected]>
Architecture: amd64
Section: utils
Description: Shell remote app via telegram bot
Depends: dash
Depends: dash, libc6 (>= 2.2.5)
Origin: https://github.com/Al-Muhandis/ShellRemoteBot
Description: Shell remote app via telegram bot
Helps you work with your server (or remote computer) via telegram bot
emulating terminal operations and a file manager functionality
1 change: 0 additions & 1 deletion deb.staging/DEBIAN/copyright

This file was deleted.

2 changes: 0 additions & 2 deletions deb.staging/DEBIAN/dirs

This file was deleted.

11 changes: 11 additions & 0 deletions make.deb.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Linux shell script to create .deb package
# Go to the repository local folder. For example, cd /home/User/ShellRemoteBot
STAGING_DIR=./deb.staging
find "${STAGING_DIR}" -type d -exec chmod 0755 {} \;
find "${STAGING_DIR}" -type f -exec chmod 0644 {} \;
find "${STAGING_DIR}/usr/bin" -type f -exec chmod 0755 {} \;
SIZE_IN_KB="$(du -s ${STAGING_DIR} | awk '{print $1;}')"
echo "Installed-Size: ${SIZE_IN_KB}" >> "${STAGING_DIR}/DEBIAN/control"
gzip -9 -n deb.staging/usr/share/doc/tgshd/changelog.Debian
read -p "Input package filename: " PACKAGE_NAME
dpkg-deb --root-owner-group --build "${STAGING_DIR}" "${PACKAGE_NAME}.deb"
2 changes: 1 addition & 1 deletion tgshd.lpi
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<AutoIncrementBuild Value="True"/>
<MajorVersionNr Value="1"/>
<MinorVersionNr Value="2"/>
<BuildNr Value="19"/>
<RevisionNr Value="1"/>
</VersionInfo>
<BuildModes Count="4">
<Item1 Name="Default" Default="True"/>
Expand Down

0 comments on commit fc123af

Please sign in to comment.