Package Details: dotpac 0.4-4

Git Clone URL: https://aur.archlinux.org/dotpac.git (read-only)
Package Base: dotpac
Description: Bash script to get rid of *.pac* files.
Upstream URL: http://wiki.archlinux.org/index.php/dotpac
Licenses: BSD
Submitter: jakob
Maintainer: jakob
Last Packager: jakob
Votes: 37
Popularity: 0.057311
First Submitted: 2005-12-25 20:54
Last Updated: 2015-10-17 18:19

Latest Comments

jamespharvey20 commented on 2016-01-30 23:07

Patch I use that you might find useful:

add_vimdiff.patch

--- dotpac 2015-08-05 20:31:14.751275068 +0000
+++ dotpac-with-vimdiff 2015-08-05 20:32:01.553954802 +0000
@@ -104,12 +104,13 @@ EOF
--ok-label "Finish"
--menu "Now that you know why $1 was left and you have seen the differences \
between the two files, you can decide what to do with them. What would you like to do?"
-15 56 5
+16 56 6
1 "Remove the $3 file."
2 "Remove the $3 file and edit the $4 one."
3 "Replace the $4 file with the $5 and edit."
4 "Just replace the $4 file with the $5."
5 "Nothing."
+6 "Vimdiff the $3 and $4 files."
EOF

dialog --file $tmpdir/dialog 2> $tmpdir/exitcode
@@ -132,6 +133,8 @@ EOF
"$texted" "$2"
elif [ $choice == 4 ]; then
mv -f "$1" "$2"
+ elif [ $choice == 6 ]; then
+ vimdiff -o "$1" "$2"
fi

return 0

jamespharvey20 commented on 2016-01-30 23:07

Patch I use that you might find useful:

add_root_check.patch

--- dotpac 2015-08-05 20:26:05.215778108 +0000
+++ dotpac-with-root-check 2015-08-05 20:27:51.634188547 +0000
@@ -1,5 +1,10 @@
#!/bin/sh

+if [[ $EUID -ne 0 ]]; then
+ echo "dotpac must be run as root" 1>&2
+ exit 5
+fi
+
version="0.4"

if ! which dialog > /dev/null 2>&1; then

jakob commented on 2015-10-17 18:20

Updated, thanks for your comment!

Alad commented on 2015-10-15 18:47

As my scripts repo tends to shift around, I've created a separate repo for dotpac:

https://raw.githubusercontent.com/AladW/dotpac/master/dotpac

Sorry for the inconvenience

jakob commented on 2015-08-04 09:18

Done. Whyever that wasn't the case yet.

jamespharvey20 commented on 2015-08-04 02:40

Could you add "depends=('dialog')" to PKGBUILD?

jakob commented on 2015-07-28 15:56

@jetm: Thanks for the heads up. Just fixed this.

jetm commented on 2015-07-23 15:30

I tried to install dotpac and I got this error:

URL returned error: 404 Not Found

Looking in AladW's repo, the new URL is:

https://github.com/AladW/scripts/blob/master/bin/old/dotpac

Alad commented on 2014-06-05 10:29

Mirror here:

http://archlinux.spider007.net/mirror/dotpac

Alad commented on 2014-06-05 10:18

This is broken - the source link only refers to itself?

All comments