Sign in

简柏林 / thingskit · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Network
  • thingskit
  • packaging
  • js
  • scripts
  • control
  • rpm
  • prerm
  • Refactored DEB/RPM builds for JS based components
    551d2609
    Andrii Shvaika authored
    2020-05-21 19:31:44 +0300  
    Browse Files »
prerm 162 Bytes
Raw Blame History Permalink
1 2 3 4 5 6
#!/bin/sh

if [ $1 -eq 0 ] ; then
        # Package removal, not upgrade
        systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || :
fi