diff options
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;  }  | 
