Skip to content

Commit

Permalink
debian: fix config migration
Browse files Browse the repository at this point in the history
  • Loading branch information
neolynx committed Sep 16, 2024
1 parent 1899b95 commit e5e3f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion debian/aptly-api.preinst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ case "$1" in
echo "migrating /etc/aptly-api.conf to /etc/aptly.conf ..."
cp /etc/aptly-api.conf /etc/aptly.conf
mv /etc/aptly-api.conf /etc/aptly-api.conf.old
sed -i 's_/var/lib/aptly-api_~/.aptly_' /etc/aptly.conf
sed -i 's_/var/lib/aptly-api_~_' /etc/aptly.conf
fi
;;

Expand Down

0 comments on commit e5e3f62

Please sign in to comment.