SHARE
TWEET

make_install.patch

rsevero May 14th, 2019 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- makeinstall.tcl_raw 2019-05-14 09:29:21.710237591 -0300
  2. +++ makeinstall.tcl     2019-05-14 09:08:44.700196739 -0300
  3. @@ -18,6 +18,8 @@
  4.  
  5.  proc copyfile {force src dst} {
  6.    if {$force} {
  7. +    set dirname [file dirname $dst]
  8. +    file mkdir $dirname
  9.      if {[catch {
  10.        file copy -force -- $src $dst
  11.      }]} {
  12. @@ -58,9 +60,9 @@
  13.    copyfile 0 xtherion/xtherion.ini /usr/local/etc/xtherion.ini
  14.    file attributes /usr/local/etc/xtherion.ini -permissions 0644
  15.  } else {
  16. -  copyfile 1 therion $instdir/bin/therion
  17. -  copyfile 1 xtherion/xtherion $instdir/bin/xtherion
  18. -  copyfile 1 loch/loch $instdir/bin/loch
  19. +  copyfile 1 therion $instdir/usr/bin/therion
  20. +  copyfile 1 xtherion/xtherion $instdir/usr/bin/xtherion
  21. +  copyfile 1 loch/loch $instdir/usr/bin/loch
  22.    copyfile 1 therion.ini $sysconfdir/therion.ini.new
  23.    copyfile 1 xtherion/xtherion.ini $sysconfdir/xtherion.ini.new
  24.    copyfile 0 therion.ini $sysconfdir/therion.ini
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top