diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-19 18:29:53 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-19 18:29:53 +0200 |
commit | 429e1174b69f70ba161f24f898d5f475d656ce47 (patch) | |
tree | bc7a2236f10abb12683649647ca3efbceaab84af /.local | |
parent | Wait a sec fuck this all (diff) | |
download | dotfiles-bsd-429e1174b69f70ba161f24f898d5f475d656ce47.tar.gz dotfiles-bsd-429e1174b69f70ba161f24f898d5f475d656ce47.tar.bz2 dotfiles-bsd-429e1174b69f70ba161f24f898d5f475d656ce47.tar.xz dotfiles-bsd-429e1174b69f70ba161f24f898d5f475d656ce47.tar.zst dotfiles-bsd-429e1174b69f70ba161f24f898d5f475d656ce47.zip |
Dumb update
Diffstat (limited to '.local')
-rwxr-xr-x | .local/bin/setwp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.local/bin/setwp b/.local/bin/setwp index 75f9203..97d7aa9 100755 --- a/.local/bin/setwp +++ b/.local/bin/setwp @@ -32,7 +32,8 @@ sub choose_and_copy my $i; $rand = int(rand(@files - 1)); - copy($files[$rand], WP_FILE); + unlink(WP_FILE); + copy(WP_POOL . $files[$rand], WP_FILE); return; } |