Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
archutils
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
archlinux
archutils
Commits
3ebc61a3
Commit
3ebc61a3
authored
9 years ago
by
Seblu
Browse files
Options
Downloads
Patches
Plain Diff
aurdown: new aur4 url
parent
47bf19c0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
aurdown
+3
-1
3 additions, 1 deletion
aurdown
with
3 additions
and
1 deletion
aurdown
+
3
−
1
View file @
3ebc61a3
...
...
@@ -16,13 +16,15 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
AUR_URL
=
'https://aur.archlinux.org/cgit/aur.git/snapshot'
((
$#
< 1
))
&&
echo
"usage:
${
0
##*/
}
<pkgsource> [pkgsource]..."
>
&2
&&
exit
1
umask
0022
for
pkg
;
do
[[
-e
"
$pkg
.tar.gz"
]]
&&
echo
"
$pkg
.tar.gz already exists. skipped!"
>
&2
&&
continue
wget
"
http://aur.archlinux.org/packages/
${
pkg
:0:2
}
/
$pkg
/
$pkg
.tar.gz"
||
continue
wget
"
$AUR_URL
/
$pkg
.tar.gz"
||
continue
tar
-xvv
--no-same-owner
--no-same-permissions
-f
"
$pkg
.tar.gz"
((
$UID
==
0
))
&&
chown
-R
nobody:nobody
"
$pkg
"
done
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment