Permalink
Browse files

Number stages correctly.

  • Loading branch information...
1 parent da1fd23 commit d4dfc5101776e1e05b9ece8bfae81943c0ee7ae8 @rrthomas committed May 27, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 restore-emacs
View
@@ -19,15 +19,15 @@ echo "Stage 2: Install fake emacs-snapshot package ..."
dpkg -i emacs-snapshot_1.0_all.deb
echo "Done."
-echo "Stage 2: Making symlinks ..."
+echo "Stage 3: Making symlinks ..."
latest=$(cd /usr/local/share/emacs && echo 2[34].* | tr ' ' '\n' | sort \
| tail -n 1)
ln -sfn /usr/local/share/emacs/$latest /usr/share/emacs-snapshot
ln -sf /usr/local/bin/emacs /usr/bin/emacs-snapshot
mkdir -p /etc/emacs-snapshot/site-start.d
echo "Done."
-echo "Stage 3: Installing emacs-snapshot flavor ..."
+echo "Stage 4: Installing emacs-snapshot flavor ..."
echo >> /var/lib/emacsen-common/installed-flavors
echo emacs-snapshot >> /var/lib/emacsen-common/installed-flavors
/usr/lib/emacsen-common/emacs-install emacs-snapshot

0 comments on commit d4dfc51

Please sign in to comment.