Compare commits
No commits in common. "33a57ad9789a070080ea4d2da9a3311037de2075" and "62f7d8b1e6d2cd0b2ab277592458a8ac9aa120a5" have entirely different histories.
33a57ad978
...
62f7d8b1e6
|
@ -4,4 +4,4 @@ OnFailure=notify-backup-failure.service
|
|||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/bin/bash -c 'RESTIC_PASSWORD=$(cat /root/restic) restic -r /backup/restic --verbose backup --exclude "/home/.*" /home'
|
||||
ExecStart=RESTIC_PASSWORD=$(cat /root/restic) restic -r /backup/restic --verbose backup --exclude '/home/.*' /home
|
||||
|
|
|
@ -88,7 +88,7 @@ if [ ! -z "$INIT" ]; then
|
|||
chsh -s $(which zsh)
|
||||
# https://man.archlinux.org/man/rofi-dmenu.5
|
||||
echo -e "* Symlink dmenu → rofi..."
|
||||
sudo ln -sf /usr/bin/rofi /usr/bin/dmenu
|
||||
sudo ln -s /usr/bin/rofi /usr/bin/dmenu
|
||||
echo -e "* Enabling NetworkManager..."
|
||||
sudo systemctl enable --now NetworkManager
|
||||
# So that "Open in Terminal" works in Nemo
|
||||
|
@ -123,10 +123,9 @@ for f in `find ${CONFIG} -type f -name ${DEST_FILENAME}`; do
|
|||
DEST=`cat ${f}`
|
||||
# Get all files, either regular files or symlinks, which are not the destination file nor specific desktop/laptop files
|
||||
# This is because if desktop/laptop files exist, they already have a symlink pointing to them at this stage
|
||||
for config_file in `find ${DIR} -regextype posix-extended -mindepth 1 \( -type f -o -type l \) -not \( -regex "${ENV_EXT_REGEXP}" -o -name "${DEST_FILENAME}" \)`; do
|
||||
for config_file in `find ${DIR} -regextype emacs -mindepth 1 -type f -not \( -regex "*.${ENV_EXT_REGEXP}" -o -name "${DEST_FILENAME}" \)`; do
|
||||
# Now copy to destination
|
||||
sudo mkdir -p ${DEST}
|
||||
# ##* strips the base path, so we manipulate absolute paths by concatening with $DEST
|
||||
check_copy "${config_file}" "sudo cp ${config_file} ${DEST}" "sudo rm ${DEST}/${config_file##*/}"
|
||||
done
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue