Add monodevelop, fix terraria backups growing eternally
This commit is contained in:
parent
16225dff8f
commit
75e14bc4e0
@ -38,10 +38,17 @@
|
|||||||
notify: reload udev
|
notify: reload udev
|
||||||
- name: Enable i386 architecture
|
- name: Enable i386 architecture
|
||||||
command: /usr/bin/dpkg --add-architecture i386
|
command: /usr/bin/dpkg --add-architecture i386
|
||||||
|
- name: Add repo keys
|
||||||
|
apt_key:
|
||||||
|
keyserver: 'keyserver.ubuntu.com'
|
||||||
|
id: "{{ item }}"
|
||||||
|
loop:
|
||||||
|
- "3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF" # Monodevelop
|
||||||
- name: Add repos
|
- name: Add repos
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: "{{ item }}"
|
repo: "{{ item }}"
|
||||||
loop:
|
loop:
|
||||||
|
- "deb https://download.mono-project.com/repo/ubuntu vs-bionic main" # Monodevelop; see above for key
|
||||||
- "ppa:drewwalton19216801/dolphin-master-cosmic" # Because Dolphin doesn't update their shit
|
- "ppa:drewwalton19216801/dolphin-master-cosmic" # Because Dolphin doesn't update their shit
|
||||||
- "ppa:kgilmer/speed-ricer" # Rice rice rice
|
- "ppa:kgilmer/speed-ricer" # Rice rice rice
|
||||||
- "ppa:lutris-team/lutris"
|
- "ppa:lutris-team/lutris"
|
||||||
@ -112,6 +119,7 @@
|
|||||||
- keepassxc
|
- keepassxc
|
||||||
- lutris
|
- lutris
|
||||||
- mesa-vulkan-drivers
|
- mesa-vulkan-drivers
|
||||||
|
- monodevelop
|
||||||
- mpc
|
- mpc
|
||||||
- mpd
|
- mpd
|
||||||
- mpv
|
- mpv
|
||||||
|
@ -33,7 +33,7 @@ chmod 770 "$OUTDIR"
|
|||||||
# Purge oldest backup if we need to
|
# Purge oldest backup if we need to
|
||||||
currentbackupcount="$(ls -1 "$OUTDIR" | wc -l)"
|
currentbackupcount="$(ls -1 "$OUTDIR" | wc -l)"
|
||||||
if (( currentbackupcount >= retention )); then
|
if (( currentbackupcount >= retention )); then
|
||||||
lastbackup="$(find "$OUTDIR" -name \*.zip 2>/dev/null | sort | head -n 1)"
|
lastbackup="$(find "$OUTDIR" -name \*.wld 2>/dev/null | sort | head -n 1)"
|
||||||
if [ -f "$lastbackup" ]; then
|
if [ -f "$lastbackup" ]; then
|
||||||
log "Removing old backup: $lastbackup"
|
log "Removing old backup: $lastbackup"
|
||||||
rm "$lastbackup"
|
rm "$lastbackup"
|
||||||
|
Loading…
Reference in New Issue
Block a user