Add check to make sure gen-deb.in is not run directly
This commit is contained in:
+6
-1
@@ -1,5 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ ! "@SUNSHINE_UNDEFINED_VARIABLE@" = "" ]; then
|
||||||
|
echo "Please run gen-deb generated by cmake inside the build directory"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -d package-deb ]; then
|
if [ -d package-deb ]; then
|
||||||
echo "package-deb already exists: It will be replaced"
|
echo "package-deb already exists: It will be replaced"
|
||||||
rm -rf package-deb
|
rm -rf package-deb
|
||||||
@@ -30,7 +35,7 @@ Package: sunshine
|
|||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Maintainer: @loki
|
Maintainer: @loki
|
||||||
Priority: optional
|
Priority: optional
|
||||||
Version: 0.1.0
|
Version: 0.1.1
|
||||||
Depends: libssl | libavdevice | libboost-thread (>= 1.67) | libboost-filesystem (>= 1.67) | libboost-log (>= 1.67) | libpulse | libopus | libxtst | libx11 | libxfixes | libevdev | libxcb1 | libxcb-shm0 | libxcb-xfixes0
|
Depends: libssl | libavdevice | libboost-thread (>= 1.67) | libboost-filesystem (>= 1.67) | libboost-log (>= 1.67) | libpulse | libopus | libxtst | libx11 | libxfixes | libevdev | libxcb1 | libxcb-shm0 | libxcb-xfixes0
|
||||||
Description: Gamestream host for Moonlight
|
Description: Gamestream host for Moonlight
|
||||||
EOF
|
EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user