summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authortaylo2allen2022-08-03 20:49:45 -0700
committertaylo2allen2022-08-03 20:49:45 -0700
commitb6bd301877c3436522377632271b81bdf239aa04 (patch)
tree26c1eef63f321225844197bf69caade183628941
parentf1069ea745f536271cd437002d6d520ac12ea8ea (diff)
downloadaur-b6bd301877c3436522377632271b81bdf239aa04.tar.gz
Editing PKGBUILD.
-rw-r--r--PKGBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index dd77483468de..24bcda9840db 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -36,11 +36,8 @@ build() {
package() {
cd shortsync
- # [ ! -d $HOME/.config/shortsync ] && mkdir -p $HOME/.config/shortsync/
- # chmod 777 config/*
- # cp -nru config/* -t /$HOME/.config/shortsync
- install -m777 config/* -Ct "$HOME/.config/shortsync/"
- install -m777 config/*/* -Ct "$HOME/.config/shortsync/shortcut-configs/"
+ mkdir -p /home/$USER/.config/shortsync/
+ cp -nru config/* -t /home/$USER/.config/shortsync
install -Dm755 bin/shortsync "$pkgdir/usr/local/bin/shortsync"
install -Dm644 shortsync.1 "$pkgdir/usr/share/man/man1/shortsync.1"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/shortsync/LICENSE"