Permalink
Browse files

provision: Deprecate old deploy script mechanism

  • Loading branch information...
laurivosandi committed Jan 22, 2016
1 parent ea160b3 commit 49c0340e092f177247b05ecd7ab285f65cb10304
Showing with 2 additions and 6 deletions.
  1. +2 −6 provision/overlay/sbin/butterknife-provision
@@ -392,12 +392,8 @@ case $PARTITIONING_METHOD in
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
# Run postinstall scripts, presumably in sorted order
if [ -e $TARGET_MOUNTPOINT/usr/local/bin/butterknife-postdeploy ]; then
chroot $TARGET_MOUNTPOINT butterknife-postdeploy
else
chroot $TARGET_MOUNTPOINT butterknife-deploy
chroot $TARGET_MOUNTPOINT butterknife-maintenance
fi
chroot $TARGET_MOUNTPOINT butterknife-deploy
chroot $TARGET_MOUNTPOINT butterknife-maintenance
# Be forgiving from now on
set +e

0 comments on commit 49c0340

Please sign in to comment.