Commit 8e70c984 authored by Ryan C. Thompson's avatar Ryan C. Thompson

Fix el-get-rmdir to handle symlinks

parent 83fbdaae
......@@ -122,7 +122,7 @@ entry."
;;
(defun el-get-rmdir (package &rest ignored)
"Just rm -rf the package directory. If it is a symlink, delete it."
(let* ((pdir (el-get-package-directory package)))
(let* ((pdir (expand-file-name "." (el-get-package-directory package))))
(cond ((file-symlink-p pdir)
(delete-file pdir))
((file-directory-p pdir)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment