mirror of
https://github.com/byReqz/blackmate.git
synced 2024-11-23 19:54:55 +00:00
Create blackmate.sh
This commit is contained in:
parent
7fd0607cc2
commit
7e7878f5c9
12
blackmate.sh
12
blackmate.sh
@ -19,14 +19,14 @@ fi
|
|||||||
#Check if blackmate is running for this first time
|
#Check if blackmate is running for this first time
|
||||||
if [[ ! -f /usr/share/applications/BlackArch-Misc.directory ]]; then
|
if [[ ! -f /usr/share/applications/BlackArch-Misc.directory ]]; then
|
||||||
|
|
||||||
echo "[*] Create the entry Misc";
|
echo "[*] Create the entry Misc";
|
||||||
|
|
||||||
#Clean any previous ba-*.desktop
|
#Clean any previous ba-*.desktop
|
||||||
rm /usr/share/applications/ba-*.desktop 2> /dev/null || true
|
rm /usr/share/applications/ba-*.desktop 2> /dev/null || true
|
||||||
|
|
||||||
#Delete the entry Website and add the entry Misc
|
#Delete the entry Website and add the entry Misc
|
||||||
rm /usr/share/desktop-directories/BlackArch-Websites.directory 2> /dev/null || true
|
rm /usr/share/desktop-directories/BlackArch-Websites.directory 2> /dev/null || true
|
||||||
cp /usr/share/blackmate/BlackArch-Misc.directory /usr/share/applications
|
cp /usr/share/blackmate/BlackArch-Misc.directory /usr/share/applications
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#Download and generate the latest tools list
|
#Download and generate the latest tools list
|
||||||
|
Loading…
Reference in New Issue
Block a user