        ;; (package-installed-p 'evil)
        (if (package-installed-p package)
 	   nil
-         (package-install package)
+         (package-install package nil)
          package
          ))
      packages))
-
-  ;; make sure to have downloaded archive description.
-  ;; Or use package-archive-contents as suggested by Nicolas Dudebout
-  (or (file-exists-p package-user-dir)
-      (package-refresh-contents))
 
   (ensure-package-installed 
    'auctex

(defun my-emacs-startup-hook ()

  ;;
  ;; Aixigo setup
  ;;
  (load-file (format "%saixigo.el" user-true-init-file-directory))
  
  ;;
  ;; Set up the coding system
  ;;
  (prefer-coding-system 'utf-8)
  ;; ;; Suggested by bbatsov in https://github.com/clojure-emacs/clojure-mode/issues/252
  ;; (set-language-environment 'utf-8)
  ;; (setq locale-coding-system 'utf-8)
  ;; (set-default-coding-systems 'utf-8)
  ;; (set-terminal-coding-system 'utf-8)

  ;;
  ;; CEDET / Semantic
  ;;
  (load-file (format "%scedet/cedet-devel-load.el" user-true-init-file-directory))
  (semantic-mode 1)
  (global-semantic-idle-completions-mode nil)
  
  ;;
  ;; Make sure all packages are installed
  ;; 

(setq user-init-file (or load-file-name (buffer-file-name)))
(setq user-emacs-directory (file-name-directory user-init-file))
(defvar user-true-init-file-directory (file-name-directory (file-truename user-init-file)))

;;
;; After init hook
