about summary refs log tree commit diff
path: root/xrecent
diff options
context:
space:
mode:
Diffstat (limited to 'xrecent')
-rwxr-xr-xxrecent8
1 files changed, 7 insertions, 1 deletions
diff --git a/xrecent b/xrecent
index fd9ec21..9d3571c 100755
--- a/xrecent
+++ b/xrecent
@@ -1,7 +1,13 @@
 #!/bin/sh
 # xrecent [REPOURL|XBPS_ARCH] - list packages in repo ordered by build date
 
-repo=http://repo.voidlinux.eu/current/
+case "$(xbps-uhelper arch)" in
+	*-musl)
+		repo=http://muslrepo.voidlinux.eu/current/;;
+	*)
+		repo=http://repo.voidlinux.eu/current/;;
+esac
+
 case "$1" in
 */*)
 	repo=$1;;