mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-26 18:03:42 +03:00
1ef1de8411
In default, xargs uses blanks to split input data. But there is a path including space in `build/install_manifest.txt`, it will cause xargs generate wrong command lines. Therefore, we have to specify delimiter for xargs.
12 lines
342 B
Bash
12 lines
342 B
Bash
#!/bin/bash
|
|
#Author: Michail Vourlakos
|
|
#Summary: Uninstallation script for Latte Dock Panel
|
|
#This script was written and tested on openSuSe Leap 42.1
|
|
|
|
if [ -f build/install_manifest.txt ]; then
|
|
echo "Uninstallation file exists..."
|
|
sudo xargs -d '\n' rm < build/install_manifest.txt
|
|
else
|
|
echo "Uninstallation file does not exist."
|
|
fi
|