We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af49f04 commit 5e0c6ebCopy full SHA for 5e0c6eb
.gitignore
@@ -24,3 +24,4 @@ tramp
24
tmp/*
25
.smex-items
26
swank/*
27
+stable/
packs/stable/.gitkeep
@@ -0,0 +1 @@
1
+This folder will be populated by executing ~/.emacs.d/packs/update-live-packs
packs/update-live-packs
@@ -1,10 +1,12 @@
-#!/bin/zsh
+#!/bin/sh
2
3
echo "clearing out live packs"
4
-rm -rf ~/.emacs.d/packs/stable
5
-
6
-echo "creating new live pack dir"
7
-mkdir ~/.emacs.d/packs/stable
+find ~/.emacs.d/packs/stable \
+ -maxdepth 1 \
+ ! -name 'stable' \
+ ! -name '.gitkeep' \
8
+ -type d \
9
+ -exec rm -Rf {} \;
10
11
echo "copying content from dev packs"
12
cp -pRL ~/.emacs.d/packs/dev/* ~/.emacs.d/packs/stable/
0 commit comments