From 242a9714038686800cc0a85d4929dae736d4d95f Mon Sep 17 00:00:00 2001 From: svkalinin Date: Thu, 21 Jul 2022 14:08:56 +0300 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=20=D1=81=D0=BA=D1=80=D0=B8=D0=BF=D1=82=20=D1=81?= =?UTF-8?q?=D0=B1=D0=BE=D1=80=D0=BA=D0=B8=20=D0=BF=D0=B0=D0=BA=D0=B5=D1=82?= =?UTF-8?q?=D0=B0=20=D0=B4=D0=BB=D1=8F=20Debian?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 - debian/{build-deb.sh => build-deb-projman.sh} | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) rename debian/{build-deb.sh => build-deb-projman.sh} (87%) mode change 100644 => 100755 diff --git a/.gitignore b/.gitignore index b3e683e..0c9f3eb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ debian/.debhelper debian/projman -debian/source debian/update-desktop-database debian/projman.substvars debian/files diff --git a/debian/build-deb.sh b/debian/build-deb-projman.sh old mode 100644 new mode 100755 similarity index 87% rename from debian/build-deb.sh rename to debian/build-deb-projman.sh index 7689cf8..02d053d --- a/debian/build-deb.sh +++ b/debian/build-deb-projman.sh @@ -1,11 +1,11 @@ #!/bin/bash -cd projman_2 +cd projman VERSION=$(grep Version projman.tcl | grep -oE '\b[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\b') RELEASE=$(grep Release projman.tcl | grep -oE '\b[0-9A-Za-z]{1,3}\b') -mv projman.tcl projman +cp projman.tcl projman sed -i "s+^set\ dir(lib)+set\ dir(lib)\ /usr/share/projman/lib ;#+g" projman @@ -17,4 +17,4 @@ dpkg-buildpackage #cp ../projman_${VERSION}-${RELEASE}_amd64.deb /files/ -mv projman projman.tcl +rm projman \ No newline at end of file