diff options
author | Eloy García Almadén | 2021-02-15 19:33:18 +0100 |
---|---|---|
committer | Eloy García Almadén | 2021-02-15 19:33:18 +0100 |
commit | 7ea64740a2afd12e5d7760b99c8a609cc05e7475 (patch) | |
tree | 2c98f9d922a201d046ec8c7e6386a1895debdb17 | |
parent | ca6379efe0010f4cb6621f06404dd4d53749b1d6 (diff) | |
download | aur-7ea64740a2afd12e5d7760b99c8a609cc05e7475.tar.gz |
sudo again and trying to remove compiled files
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -31,10 +31,13 @@ package() { # Installing ButterManager using python-setuptools echo -e "\n Installing ButterManager. Please wait..." - python setup.py install + sudo python setup.py install # Copying .desktop file and icon echo -e \n "Creating desktop icon. Finishing the installation" install -Dm644 "$srcdir/$pkgname/packaging/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" install -Dm644 "$srcdir/$pkgname/packaging/$pkgname.svg" "$pkgdir/opt/$pkgname/gui/$pkgname.svg" + + # Removing compiled files with root privileges + sudo rm -rf "$srcdir/$pkgname/" } |