Project

General

Profile

« Previous | Next » 

Revision 6afb7579

Added by Tomer Brisker almost 6 years ago

Add -nf to symlink for rex webpack

View differences:

plugins/ruby-foreman-remote-execution/debian/changelog
ruby-foreman-remote-execution (1.5.4-3) stable; urgency=low
* Change webpack link creation to use -nf
-- Tomer Brisker <tbrisker@gmail.com> Tue, 24 Jul 2018 10:29:05 +0300
ruby-foreman-remote-execution (1.5.4-2) stable; urgency=low
* Fix links to webpack assets
plugins/ruby-foreman-remote-execution/debian/postinst
PLUGIN_ROOT=`$BUNDLE show $PLUGIN`
mkdir -p $PLUGIN_ROOT/public
ln -s /var/lib/foreman/public/webpack/ $PLUGIN_ROOT/public/webpack
ln -snf /var/lib/foreman/public/webpack/ $PLUGIN_ROOT/public/webpack
# Own all the core files
chown -Rf foreman:foreman '/usr/share/foreman'

Also available in: Unified diff