diff --git a/extras/build_deb.sh b/extras/build_deb.sh index 543469d473..788eb72536 100755 --- a/extras/build_deb.sh +++ b/extras/build_deb.sh @@ -8,19 +8,8 @@ fi echo "Creating DEB packages in $RPMHOME/DEB" # Console -# Extra files to be added to rpm. -if [ "$X86_64" == "" ]; then - # Fake gotty. - echo 'Only x86_64 is supported' > $CODEHOME/pandora_console/gotty - chmod +x pandora_console/gotty -else - cp /root/bin/winexe/x64/gotty $CODEHOME/pandora_console/ -fi cd $CODEHOME/pandora_console/DEBIAN && bash ./make_deb_package.sh && mv ../*.deb $RPMHOME/DEB || exit 1 -# Cleanup. -rm -f pandora_console/gotty - # Server cd $CODEHOME/pandora_server/DEBIAN && bash ./make_deb_package.sh && mv ../*.deb $RPMHOME/DEB || exit 1 diff --git a/pandora_console/DEBIAN/postinst b/pandora_console/DEBIAN/postinst index f6fe667ff5..a899c6bf0a 100755 --- a/pandora_console/DEBIAN/postinst +++ b/pandora_console/DEBIAN/postinst @@ -10,9 +10,6 @@ if [ -f /etc/init.d/apache2 ]; then echo Restart the apache. /etc/init.d/apache2 restart fi -# Install GoTTY binary file. -cp -pf %{prefix}/pandora_console/gotty /usr/bin/ -chmod +x /usr/bin/gotty # Install pandora_websocket_engine service. cp -pf %{prefix}/pandora_console/pandora_websocket_engine /etc/init.d/