Automate the update of share/backgrounds/kali-16x9/
This commit is contained in:
parent
47ffe4b842
commit
ece26b9162
1
Makefile
1
Makefile
@ -1,6 +1,7 @@
|
||||
SUBDIRS=emblems kali-logos
|
||||
|
||||
build:
|
||||
bin/update-kali-16x9
|
||||
$(foreach SUBDIR,$(SUBDIRS),$(MAKE) -C $(SUBDIR) build &&) true
|
||||
|
||||
clean:
|
||||
|
||||
10
bin/update-kali-16x9
Executable file
10
bin/update-kali-16x9
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
TARGET_DIR=share/backgrounds/kali-16x9
|
||||
rm $TARGET_DIR/*.png
|
||||
|
||||
for f in share/backgrounds/kali/*-16x9.png; do
|
||||
target=$(basename $f)
|
||||
target="${target%%-16x9.png}.png"
|
||||
ln -vsrf $f $TARGET_DIR/$target
|
||||
done
|
||||
Loading…
x
Reference in New Issue
Block a user