Skip to content

Commit

Permalink
flux/clear.sh fix
Browse files Browse the repository at this point in the history
  • Loading branch information
huapox committed Jul 2, 2024
1 parent 7d179a4 commit 3bb49ae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion flux/src/_drop/clear.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ done
find /rootfs/usr/local/static/openbox/share/ -type d |grep openbox-3 |while read one; do
one=$(echo $one |sed "s^/rootfs^^g");
dst=$(echo $one |sed "s^local/static/openbox/^^g");
# dst-not-exist: 56.08 ln: /rootfs/usr/share/themes/Clearlooks-Olive/openbox-3: No such file or directory
dst=/rootfs$dst
mkdir -p $dst; rm -rf $dst;
ln -s $one /rootfs$dst #link
ln -s $one $dst #link
done

exit 0

0 comments on commit 3bb49ae

Please sign in to comment.