aboutsummaryrefslogtreecommitdiffstats
path: root/Game
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/package_debian.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/Game/Code/package_debian.sh b/Game/Code/package_debian.sh
index 373c82a0..7a4dfccc 100644
--- a/Game/Code/package_debian.sh
+++ b/Game/Code/package_debian.sh
@@ -2,9 +2,13 @@
# and i should move files to the correct location for packaging ... ( for DEB package )
rm -fr ../../../deb-package
+rm -fr ../../../packages
clear
+mkdir ../../../packages
+
mkdir ../../../deb-package
+mkdir ../../../deb-package/DEBIAN
mkdir ../../../deb-package/usr
mkdir ../../../deb-package/usr/share
mkdir ../../../deb-package/usr/share/UltraStarDeluxe
@@ -16,3 +20,12 @@ cp -a ../../Themes/ ../../../deb-package/usr/share/UltraStarDeluxe/
cp -a ../../Sounds/ ../../../deb-package/usr/share/UltraStarDeluxe/
cp -a ../../Skins/ ../../../deb-package/usr/share/UltraStarDeluxe/
cp -a ../../Languages/ ../../../deb-package/usr/share/UltraStarDeluxe/
+
+cp UltraStarDeluxe.control ../../../deb-package/DEBIAN/control
+
+cd ../../../
+
+dpkg-deb --build ./deb-package
+mv deb-package.deb ./packages/UltraStarDeluxe_1.1_i386.deb
+
+rm -fr ../../../deb-package