mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2026-11-29 22:58:06 +00:00
14 lines
273 B
Bash
Executable File
14 lines
273 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
TOP_DIR="$(dirname "$(realpath "$0")")"
|
|
|
|
# Install packages.
|
|
guix repl -- "$TOP_DIR/packages"
|
|
|
|
# Install configuration file.
|
|
if [ ! -f ~/.config/emacs/init.el ]
|
|
then
|
|
install -D -mode=0644 --target-directory="$HOME/.config/emacs" "$TOP_DIR/init.el"
|
|
fi
|