Commit a185e906 authored by Aneta Steimarova's avatar Aneta Steimarova

#754 Added executable rights to Tablexia executable file

parent d95e3ff2
......@@ -2,8 +2,8 @@
Encoding=UTF-8
Name=Tablexia
Comment=Educational application
Exec=/bin/tablexia
Icon=/usr/share/tablexia/icon.png
Exec=/usr/bin/tablexia
Icon=/usr/share/doc/tablexia/icon.png
Terminal=false
Type=Application
Categories=GNOME, Application
......
......@@ -191,7 +191,7 @@ def createDebPackage(String version) {
new File("$packageFolder/DEBIAN").mkdirs() // control
new File("$packageFolder/lib/tablexia").mkdirs() // .jar
new File("$packageFolder/bin").mkdirs() //exec tablexia
new File("$packageFolder/usr/bin").mkdirs() //exec tablexia
new File("$packageFolder/usr/share/applications").mkdirs() //tablexia.desktop
new File("$packageFolder/usr/share/doc/tablexia").mkdirs() // copyright, icon, changelog
......@@ -218,7 +218,13 @@ def createDebPackage(String version) {
//copy executable tablexia file
copy {
from "../desktop/assets/tablexia"
into "../$packageFolder/bin/"
into "../$packageFolder/usr/bin/"
}
//add tablexia file rights for execute
exec {
commandLine = ['chmod',"+x","tablexia"]
workingDir = "../$packageFolder/usr/bin/"
}
//copy control file
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment