Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
turboprint / usr / lib / turboprint / install-post-rpm
Size: Mime:
#!/bin/bash
# additional installation steps for TurboPrint
# that can't be executed during DEB/RPM installation

##
# get TurboPrint configuration
##

eval $(cat /etc/turboprint/system.cfg)
LOGFILE="$TPPATH_LOG/turboprint/install.log"
echo "install-post-rpm started $(date)" >> "$LOGFILE"

# Unity appicon - install package required for python to access Gtk
# problem: this doesn't work within deb installation (dpkg lock)
type apt-get &> /dev/null && apt-get -q -y install python-gobject 2>&1 >> $LOGFILE

echo "install-post-rpm finished $(date)" >> "$LOGFILE"
echo "#######################################################" >> "$LOGFILE"

echo "RESULT 0"
exit 0