Create log dir if necessary
This commit is contained in:
parent
f15382ae27
commit
c07c42d533
|
@ -12,6 +12,7 @@ my $launcher = $ARGV[0];
|
|||
my $launcher_dir = "$ENV{HOME}/.config/xfce4/panel/launcher-$launcher";
|
||||
|
||||
my @desktop_files = glob("$launcher_dir/*.desktop");
|
||||
mkdir "$ENV{HOME}/log/";
|
||||
mkdir "$ENV{HOME}/log/xfce-xterm-launcher/";
|
||||
open my $log, ">>", "$ENV{HOME}/log/xfce-xterm-launcher/" . strftime("%Y-%m", localtime);
|
||||
|
||||
|
|
Loading…
Reference in New Issue