Исправлен скрипт сборки пакета для Debian
This commit is contained in:
parent
1840836db9
commit
242a971403
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,6 +1,5 @@
|
||||||
debian/.debhelper
|
debian/.debhelper
|
||||||
debian/projman
|
debian/projman
|
||||||
debian/source
|
|
||||||
debian/update-desktop-database
|
debian/update-desktop-database
|
||||||
debian/projman.substvars
|
debian/projman.substvars
|
||||||
debian/files
|
debian/files
|
||||||
|
|
6
debian/build-deb.sh → debian/build-deb-projman.sh
vendored
Normal file → Executable file
6
debian/build-deb.sh → debian/build-deb-projman.sh
vendored
Normal file → Executable file
|
@ -1,11 +1,11 @@
|
||||||
#!/bin/bash
|
#!/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')
|
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')
|
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
|
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/
|
#cp ../projman_${VERSION}-${RELEASE}_amd64.deb /files/
|
||||||
|
|
||||||
mv projman projman.tcl
|
rm projman
|
Loading…
Reference in New Issue
Block a user