mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-26 23:35:02 +02:00
Revert "DEBIAN console updated with gotty binary file"
Undo GoTTY in Pandora Console DEB packages This reverts commit d370fa560a86cb78f91fad53949a49d59cc847bf.
This commit is contained in:
parent
c2d0377a8d
commit
89b97e340e
@ -8,19 +8,8 @@ fi
|
|||||||
echo "Creating DEB packages in $RPMHOME/DEB"
|
echo "Creating DEB packages in $RPMHOME/DEB"
|
||||||
|
|
||||||
# Console
|
# 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
|
cd $CODEHOME/pandora_console/DEBIAN && bash ./make_deb_package.sh && mv ../*.deb $RPMHOME/DEB || exit 1
|
||||||
|
|
||||||
# Cleanup.
|
|
||||||
rm -f pandora_console/gotty
|
|
||||||
|
|
||||||
# Server
|
# Server
|
||||||
cd $CODEHOME/pandora_server/DEBIAN && bash ./make_deb_package.sh && mv ../*.deb $RPMHOME/DEB || exit 1
|
cd $CODEHOME/pandora_server/DEBIAN && bash ./make_deb_package.sh && mv ../*.deb $RPMHOME/DEB || exit 1
|
||||||
|
|
||||||
|
@ -10,9 +10,6 @@ if [ -f /etc/init.d/apache2 ]; then
|
|||||||
echo Restart the apache.
|
echo Restart the apache.
|
||||||
/etc/init.d/apache2 restart
|
/etc/init.d/apache2 restart
|
||||||
fi
|
fi
|
||||||
# Install GoTTY binary file.
|
|
||||||
cp -pf %{prefix}/pandora_console/gotty /usr/bin/
|
|
||||||
chmod +x /usr/bin/gotty
|
|
||||||
|
|
||||||
# Install pandora_websocket_engine service.
|
# Install pandora_websocket_engine service.
|
||||||
cp -pf %{prefix}/pandora_console/pandora_websocket_engine /etc/init.d/
|
cp -pf %{prefix}/pandora_console/pandora_websocket_engine /etc/init.d/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user