Add monodevelop, fix terraria backups growing eternally
This commit is contained in:
parent
16225dff8f
commit
75e14bc4e0
@ -38,10 +38,17 @@
|
||||
notify: reload udev
|
||||
- name: Enable i386 architecture
|
||||
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
|
||||
apt_repository:
|
||||
repo: "{{ item }}"
|
||||
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:kgilmer/speed-ricer" # Rice rice rice
|
||||
- "ppa:lutris-team/lutris"
|
||||
@ -112,6 +119,7 @@
|
||||
- keepassxc
|
||||
- lutris
|
||||
- mesa-vulkan-drivers
|
||||
- monodevelop
|
||||
- mpc
|
||||
- mpd
|
||||
- mpv
|
||||
|
@ -33,7 +33,7 @@ chmod 770 "$OUTDIR"
|
||||
# Purge oldest backup if we need to
|
||||
currentbackupcount="$(ls -1 "$OUTDIR" | wc -l)"
|
||||
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
|
||||
log "Removing old backup: $lastbackup"
|
||||
rm "$lastbackup"
|
||||
|
Loading…
Reference in New Issue
Block a user