bugfix
This commit is contained in:
@@ -135,12 +135,14 @@ if [[ "${DE}" == "xfce" || "${DDE}" == "xfce" ]]; then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# 2. Aggressively Stop Xfce Processes
|
# 2. Aggressively Stop Xfce Processes if XFCE active
|
||||||
say_yellow "Stopping Xfce Panel and Configuration Daemon to prevent settings overwrite..."
|
if pgrep -x "xfce4-panel" > /dev/null; then
|
||||||
pkill xfce4-panel
|
say_yellow "Stopping Xfce Panel and Configuration Daemon to prevent settings overwrite..."
|
||||||
pkill xfconfd
|
pkill xfce4-panel
|
||||||
pkill xfwm4
|
pkill xfconfd
|
||||||
sleep 1
|
pkill xfwm4
|
||||||
|
sleep 1
|
||||||
|
fi
|
||||||
|
|
||||||
# 3. Copy files from source to destination recursively
|
# 3. Copy files from source to destination recursively
|
||||||
say_yellow "Copying all files and directories (including hidden ones) from $SOURCE_DIR to $DEST_DIR"
|
say_yellow "Copying all files and directories (including hidden ones) from $SOURCE_DIR to $DEST_DIR"
|
||||||
|
|||||||
Reference in New Issue
Block a user