Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b0a7a03542 | |||
| b8b7ca1851 |
@@ -10,7 +10,7 @@
|
|||||||
x_desktops: /usr/share/xsessions
|
x_desktops: /usr/share/xsessions
|
||||||
git_repo_http: https://{{ git_host }}/{{ git_user }}/{{ git_project }}
|
git_repo_http: https://{{ git_host }}/{{ git_user }}/{{ git_project }}
|
||||||
git_repo_ssh: ssh://git@{{ git_host }}:{{ git_ssh_port }}/{{ git_user }}/{{ git_project }}
|
git_repo_ssh: ssh://git@{{ git_host }}:{{ git_ssh_port }}/{{ git_user }}/{{ git_project }}
|
||||||
shared_rc_install_dir: ~/.git-env-shared
|
shared_rc_install_dir: $HOME/.git-env-shared
|
||||||
notify_log: "ansible.notify.log"
|
notify_log: "ansible.notify.log"
|
||||||
|
|
||||||
- name: General | Facts | System | Global [2/2]
|
- name: General | Facts | System | Global [2/2]
|
||||||
|
|||||||
@@ -182,8 +182,8 @@ $search "$location" | sort | while read media; do
|
|||||||
|
|
||||||
if [[ -n "$delete" ]]; then
|
if [[ -n "$delete" ]]; then
|
||||||
echo -n " DELETE: "
|
echo -n " DELETE: "
|
||||||
if [[ -d ~/TRASH ]]; then
|
if [[ -d $HOME/TRASH ]]; then
|
||||||
mv -v "$media" ~/TRASH/
|
mv -v "$media" $HOME/TRASH/
|
||||||
else
|
else
|
||||||
rm -v "$media"
|
rm -v "$media"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -215,8 +215,8 @@ $search "$location" | sort | while read image; do
|
|||||||
|
|
||||||
if [[ -n "$delete" ]]; then
|
if [[ -n "$delete" ]]; then
|
||||||
echo -n " DELETE: "
|
echo -n " DELETE: "
|
||||||
if [[ -d ~/TRASH ]]; then
|
if [[ -d $HOME/TRASH ]]; then
|
||||||
mv -v "$image" ~/TRASH/
|
mv -v "$image" $HOME/TRASH/
|
||||||
else
|
else
|
||||||
rm -v "$image"
|
rm -v "$image"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -225,8 +225,8 @@ $search_command "$input" | sort | while read file; do
|
|||||||
if [[ -e "$newfile" || -e "$new_video_clean" ]]; then
|
if [[ -e "$newfile" || -e "$new_video_clean" ]]; then
|
||||||
if [[ "$force" == "Y" ]]; then
|
if [[ "$force" == "Y" ]]; then
|
||||||
echo "FORCE: Removing '$newfile'."
|
echo "FORCE: Removing '$newfile'."
|
||||||
if [[ -d ~/TRASH ]]; then
|
if [[ -d $HOME/TRASH ]]; then
|
||||||
mv -v "$newfile" "$new_video_clean" ~/TRASH/ 2>/dev/null
|
mv -v "$newfile" "$new_video_clean" $HOME/TRASH/ 2>/dev/null
|
||||||
else
|
else
|
||||||
rm -v "$newfile" "$new_video_clean" 2>/dev/null
|
rm -v "$newfile" "$new_video_clean" 2>/dev/null
|
||||||
fi
|
fi
|
||||||
@@ -279,8 +279,8 @@ $search_command "$input" | sort | while read file; do
|
|||||||
|
|
||||||
if [[ -n "$delete" ]]; then
|
if [[ -n "$delete" ]]; then
|
||||||
echo -n "Original has been deleted: "
|
echo -n "Original has been deleted: "
|
||||||
if [[ -d ~/TRASH ]]; then
|
if [[ -d $HOME/TRASH ]]; then
|
||||||
mv -v "$file" ~/TRASH/
|
mv -v "$file" $HOME/TRASH/
|
||||||
else
|
else
|
||||||
rm -v "$file"
|
rm -v "$file"
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
DIR="$(dirname -- "${BASH_SOURCE[0]}")"
|
DIR="$(dirname -- "${BASH_SOURCE[0]}")"
|
||||||
PROG="$(basename -- "${BASH_SOURCE[0]}")"
|
PROG="$(basename -- "${BASH_SOURCE[0]}")"
|
||||||
|
|
||||||
nixos_working_dir=~/nixos-config-deleteme
|
nixos_working_dir=$HOME/nixos-config-deleteme
|
||||||
nixos_working_exe=activate.sh
|
nixos_working_exe=activate.sh
|
||||||
|
|
||||||
## Functions ##
|
## Functions ##
|
||||||
|
|||||||
Reference in New Issue
Block a user