We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff6c558 commit a589fa5Copy full SHA for a589fa5
1 file changed
channels/lxde/airootfs.any/usr/share/libalpm/scripts/alterlinux-lxde-logo
@@ -1,22 +1,6 @@
1
#!/usr/bin/env bash
2
3
-# Delete file only if file exists
4
-# remove <file1> <file2> ...
5
-function remove () {
6
- local _list
7
- local _file
8
- _list=($(echo "$@"))
9
- for _file in "${_list[@]}"; do
10
- if [[ -f ${_file} ]]; then
11
- rm -f "${_file}"
12
- elif [[ -d ${_file} ]]; then
13
- rm -rf "${_file}"
14
- fi
15
- done
16
-}
17
-
18
19
-# Replace wlogo.
20
-remove "/usr/share/lxde/images/logout-banner.png"
+# Replace logo.
+rm -rf "/usr/share/lxde/images/logout-banner.png"
21
ln -s "/usr/share/lxde/images/alterlinux.png" "/usr/share/lxde/images/logout-banner.png"
22
chmod 644 "/usr/share/lxde/images/logout-banner.png"
0 commit comments